json_value_create_integer Subroutine

private subroutine json_value_create_integer(me, val, name)

Arguments

Type IntentOptional AttributesName
type(json_value), , pointer:: me
integer(kind=IK), intent(in) :: val
character(kind=CK,len=*), intent(in) :: name

Description

Allocate a json_value pointer and make it an integer(IK) variable. The pointer should not already be allocated.

Example

     type(json_value),pointer :: p
     call json_create(p,'value',1)

Calls

proc~~json_value_create_integer~~CallsGraph proc~json_value_create_integer json_value_create_integer proc~json_value_create json_value_create proc~json_value_create_integer->proc~json_value_create proc~to_integer to_integer proc~json_value_create_integer->proc~to_integer proc~destroy_json_data destroy_json_data proc~to_integer->proc~destroy_json_data
Help

Called By

proc~~json_value_create_integer~~CalledByGraph proc~json_value_create_integer json_value_create_integer proc~wrap_json_value_create_integer wrap_json_value_create_integer proc~wrap_json_value_create_integer->proc~json_value_create_integer interface~json_create_integer json_create_integer interface~json_create_integer->proc~json_value_create_integer proc~test_10 test_10 proc~test_10->interface~json_create_integer program~jf_test_10 jf_test_10 program~jf_test_10->proc~test_10
Help

Source Code

    subroutine json_value_create_integer(me,val,name)

    implicit none

    type(json_value),pointer            :: me
    character(kind=CK,len=*),intent(in) :: name
    integer(IK),intent(in)              :: val

    call json_value_create(me)
    call to_integer(me,val,name)

    end subroutine json_value_create_integer