Allocate a json_value pointer and make it an integer variable. The pointer should not already be allocated.
type(json_value),pointer :: p call json_create_integer(p,'value',42)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(json_value), | intent(inout), | pointer | :: | me | ||
| integer(kind=IK), | intent(in) | :: | val | |||
| character(kind=CK,len=*), | intent(in) | :: | name |
Allocate a json_value pointer and make it an integer(IK) variable. The pointer should not already be allocated.