Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | error_cnt |
read a JSON structure from a string
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(json_value), | public, | pointer | :: | p | |||
type(json_core), | public | :: | json | factory for manipulating |
|||
character(len=*), | public, | parameter | :: | newline | = | achar(10) | |
character(len=*), | public, | parameter | :: | str | = | '{ "label": "foo",'//newline//' "value": "bar" }' | |
character(len=*), | public, | parameter | :: | str2 | = | '{ "label": "foo",'//newline//' "value": "bar",'//newline//' "empty_array": [],'//newline//' "empty_object": {}'//newline//'}' | |
character(len=*), | public, | parameter | :: | str_invalid | = | '{ "label": "foo",'//newline//' "value : "bar" }' |