Alternate version of json_update_string, where name
and value
are kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | |||
character(kind=CDK,len=*), | intent(in) | :: | name | |||
character(kind=CDK,len=*), | intent(in) | :: | val | |||
logical(kind=LK), | intent(out) | :: | found |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
subroutine wrap_json_update_string(json,p,name,val,found)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
character(kind=CDK,len=*),intent(in) :: name
character(kind=CDK,len=*),intent(in) :: val
logical(LK),intent(out) :: found
call json%update(p,to_unicode(name),to_unicode(val),found)
end subroutine wrap_json_update_string