json.net
json deserializing coming back empty
I took suggestions from here and tried to create a class with objects for the parts I need to parse开发者_运维知识库 from my json feed. I then tried to deserialize it before mapping the field contents[详细]
2023-03-27 01:24 分类:问答Using JSON.NET instead of the default WebMethod serialization
In a WebMethod I am using JSON.NET to manually serialize my object to avoid the entity framework circular reference problem.[详细]
2023-03-27 01:23 分类:问答Serializing EF4.1 Entities using JSON.Net
I am building an application using MVC3, Razor view engine, Repository Pattern with Unit of Work and using EF4.1 Code First to define my data model.[详细]
2023-03-26 16:01 分类:问答How to get the type of deserialized C# object from JSON text?
I am trying to get the type of serialized C# object in JSON Text ( $type in JSON text)without deserialisingthe JSON text to object again . can you please suggest what are all the option do i have?[详细]
2023-03-25 10:51 分类:问答convert text to json
i use Newtonsoft.Json.Net20.dll Html <div id=\"a\" runat=\"server\"> </div> Code string kb = \"a\";[详细]
2023-03-24 01:48 分类:问答How to Serialize XML to a JSON object with Json.NET
I can serialize XML to a JSON string like this: var xml = new XmlDocument(); xml.LoadXml(\"<person><name>John</name></person>\");[详细]
2023-03-23 19:34 分类:问答Json.Net: JsonSerializer-Attribute for custom naming [duplicate]
This question already has answers here: How can I change property names when serializing with Json.net?[详细]
2023-03-23 19:09 分类:问答How to check if dynamic is empty.
I am using Newtonsoft开发者_JAVA百科\'s Json.NET to deserialize a JSON string: var output = JsonConvert.DeserializeObject<dynamic>(\"{ \'foo\': \'bar\' }\");[详细]
2023-03-23 13:01 分类:问答Deserializing JSON with unknown fields
I\'m trying to deserialize some JSON I receive from an external source (no way to change it) and I\'m having some problems with开发者_高级运维 it. I\'m using JSON.net to deserialize, and this is an ex[详细]
2023-03-23 00:37 分类:问答Serialize json to an object with catch all dictionary property
I would like to use JSON.net to deserialize to an object but put unmapped properties in a dictionary property. Is it possible?[详细]
2023-03-22 19:27 分类:问答