12345678910111213141516171819202122232425 |
- #if !BESTHTTP_DISABLE_SOCKETIO
- using System.Collections.Generic;
- using BestHTTP.JSON;
- namespace BestHTTP.SocketIO.JsonEncoders
- {
-
-
-
- public sealed class DefaultJSonEncoder : IJsonEncoder
- {
- public List<object> Decode(string json)
- {
- return Json.Decode(json) as List<object>;
- }
- public string Encode(List<object> obj)
- {
- return Json.Encode(obj);
- }
- }
- }
- #endif
|