D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Thu Feb 17 14:20:14 2011

# std.json

JavaScript Object Notation

License:
Boost License 1.0.

Authors:
Jeremie Pelletier

References:
http://json.org/

Source:
std/json.d

enum JSON_TYPE;
  JSON value types

struct JSONValue;
  JSON value node

JSONValue parseJSON(T)(T json, int maxDepth = -1);
  Parses a serialized string and returns a tree of JSON values.

string toJSON(in JSONValue* root);
  Takes a tree of JSON values and returns the serialized string.

class JSONException: object.Exception;
  Exception thrown on JSON errors

Copyright Jeremie Pelletier 2008 - 2009. | Page generated by Ddoc.