» AsString (Object Json)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

AsString (Object Json)

plugin
Credits: uses Json.NET by James Newton-King, elias, gregsn, meso

about

Serializes objects to json strings.

download

JsonObjectAsString.7z
13.06.13 [13:25 UTC] by bjoern | 791 downloads

herbst 14/06/2013 - 19:15

Thanks! Should maybe also go directly to addonpack as pendant to AsXElement (JSON)?

bjoern 14/06/2013 - 19:28

Wasn't sure because it depends on that library. Should also be possible to do the serialization with standard .NET methods, but I came across this only after I uploaded the plugin and it looked a bit cumbersome in comparison.
http://msdn.microsoft.com/en-us/library/bb412179(v=vs.100).aspx

kiilo 23/06/2013 - 18:42

hey thanks - didn't see ists already there ...

...
_String[i] = o != null ? JsonConvert.SerializeObject(o, Formatting.Indented) : "";
...

super, thanks
kiilo

sansui 21/07/2013 - 23:09

is there a way to change normal string to JSON string?
I think like this,
input 1 key : sansui
input 2 value : beginner

output : {"sansui" : "beginner"}

If this module exists, I want to use for communicating with node.js.

anonymous user login

Shoutbox

~2d ago

karistouf: @tgd, i have reinstalled windows and cutted all updates. Thanks you !

~3d ago

tgd: @karistouf: had the same issue days ago. reinstall Visual C++ Runtime 2012 from downloads

~4d ago

karistouf: arghhh, my dx11 mesh assimp are red nodes !!! any idea ???

~18d ago

SuperflysiNZ: Thanks