wrap_json_value_remove_if_present Subroutine

private subroutine wrap_json_value_remove_if_present(json, p, path)

Alternate version of json_value_remove_if_present, where path is kind=CDK.

Type Bound

json_core

Arguments

Type IntentOptional Attributes Name
class(json_core), intent(inout) :: json
type(json_value), pointer :: p
character(kind=CDK, len=*), intent(in) :: path

Source Code

    subroutine wrap_json_value_remove_if_present(json,p,path)

    implicit none

    class(json_core),intent(inout)       :: json
    type(json_value),pointer             :: p
    character(kind=CDK,len=*),intent(in) :: path

    call json%remove_if_present(p,to_unicode(path))

    end subroutine wrap_json_value_remove_if_present