json_value_create_real32 Subroutine

private subroutine json_value_create_real32(json, p, val, name)

Alternate version of json_value_create_real where val=real32.

Arguments

Type IntentOptional AttributesName
class(json_core), intent(inout) :: json
type(json_value), pointer:: p
real(kind=real32), intent(in) :: val
character(kind=CK,len=*), intent(in) :: name

Contents


Source Code

    subroutine json_value_create_real32(json,p,val,name)

    implicit none

    class(json_core),intent(inout)      :: json
    type(json_value),pointer            :: p
    real(real32),intent(in)             :: val
    character(kind=CK,len=*),intent(in) :: name

    call json%create_real(p,real(val,RK),name)

    end subroutine json_value_create_real32