Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

newtonsoft json change property name

using Newtonsoft.Json;
// ...

[JsonProperty(PropertyName = "FooBar")]
public string Foo { get; set; }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #newtonsoft #json #change #property
ADD COMMENT
Topic
Name
6+3 =