• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

AsString (Object Json)

Author: bjoern
Date: 13 Jun, 2013
Category: plugin
Credits:

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

Download

64bit

0-JsonObjectAsString.7z
13 Jun, 2013 - 11:25

Description

Serializes objects to json strings.

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
herbst
14 Jun, 2013 - 17:15

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

bjoern
14 Jun, 2013 - 17: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 Jun, 2013 - 16:42

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

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

super, thanks kiilo

sansui
21 Jul, 2013 - 21: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.

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top