This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using ServiceStack.Text; | |
| public class DynamicJson : DynamicObject | |
| { | |
| private readonly IDictionary<string, object> _hash = new Dictionary<string, object>(); | |
| public static string Serialize(dynamic instance) | |
| { | |
| var json = JsonSerializer.SerializeToString(instance); | |
| return json; |
NewerOlder