parseAsGQLValue

fun BufferedSource.parseAsGQLValue(filePath: String? = null): GQLResult<GQLValue>

Parses the source to a GQLValue, validating the syntax but not the contents of the value.