D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Thu Sep 16 11:25:58 2010

# std.json

JavaScript Object Notation

License:
Boost License 1.0.

Authors:
Jeremie Pelletier

References:
http://json.org/

Copyright Jeremie Pelletier 2008 - 2009. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

http:
//www.boost.org/LICENSE_1_0.txt)

enum JSON_TYPE;
  JSON value types

struct JSONValue;
  JSON value node

JSONValue parseJSON(T)(in 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.