» 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 | 955 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

~6d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~6d ago

domj: If you happen to be in Prague, come join us at the Schema workshop on Thursday 25.4. :) https://www.facebook.com/events/395516526614988/?ti=ls

~18d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~2mth ago

~2mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/