parseAsGQLValue

fun String.parseAsGQLValue(options: ParserOptions = ParserOptions.Default): GQLResult<GQLValue>


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

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

Closes BufferedSource