read_string Subroutine

public subroutine read_string(json, pos, val, status)

Read a JSON quoted string, advancing pos past closing quote. Unescapes standard JSON escape sequences.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: json
integer, intent(inout) :: pos
character(len=:), intent(out), allocatable :: val
integer, intent(out) :: status