The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
toJSON
std
json
string
toJSON
(JSONValue root, bool pretty, JSONOptions options)
void
toJSON
(Out json, JSONValue root, bool pretty, JSONOptions options)
void
toJSON
(
Out
)
(
auto
ref
Out
json
,
const
ref
JSONValue
root
,
in
bool
pretty
= false
,
in
JSONOptions
options
=
JSONOptions.none
)
if
(
isOutputRange
!(
Out
,
char
)
)
Meta
Source
See Implementation
std
json
classes
JSONException
enums
JSONFloatLiteral
JSONOptions
JSONType
functions
parseJSON
toJSON
structs
JSONValue