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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -