c# - Reading value removes characters in JSonNet -
i'm trying read date time string jvalue gets changed read..
{ "updated": "2012-12-12t00:00:00z", } json["updated"].value<string>() = 12/12/2012 00:00:00
the above json string found when inspect json object. ideas why it's doing this?
it's resolving datetime internally , doing datetime.tostring.
try
json["updated"].value<datetime>().tostring("your format")
Comments
Post a Comment