View source code
							
							
						
								Display the source code in std/json.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Module std.json
JavaScript Object Notation
References
Example
import stdFunctions
| Name | Description | 
|---|---|
| 
									parseJSON(json, options)
								 | Parses a serialized string and returns a tree of JSON values. | 
| 
									parseJSON(json, maxDepth, options)
								 | Parses a serialized string and returns a tree of JSON values. | 
| 
									toJSON(root, pretty, options)
								 | Takes a tree of JSON values and returns the serialized string. | 
Classes
| Name | Description | 
|---|---|
| 
									JSONException
								 | Exception thrown on JSON errors | 
Structs
| Name | Description | 
|---|---|
| 
									JSONValue
								 | JSON value node | 
Enums
| Name | Description | 
|---|---|
| 
									JSONFloatLiteral
								 | String literals used to represent special float values within JSON strings. | 
| 
									JSONOptions
								 | Flags that control how json is encoded and parsed. | 
| 
									JSONType
								 | JSON type enumeration | 
Authors
Jeremie Pelletier, David Herberth
License
					Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.