fson_value_count Function

public function fson_value_count(this) result(count)

Arguments

Type IntentOptional AttributesName
type(fson_value), pointer:: this

Return Value integer


Contents

Source Code


Source Code

  integer function fson_value_count(this) result(count)
    type(fson_value), pointer :: this, p

    count = 0

    p => this % children

    do while (associated(p))
       count = count + 1
       p => p % next
    end do

  end function fson_value_count