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

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

java - Are there any classes that implement javax.persistence.Parameter<T>? -