expect_char Function

public function expect_char(json, pos, ch) result(ok)

Expect and consume a specific character

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: json
integer, intent(inout) :: pos
character(len=1), intent(in) :: ch

Return Value logical