parseAsGQLValue
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.
Parameters
filePath
the path of a file on the host filesystem where the source is coming from. If provided, filePath is used to display context for parsing errors. If the source doesn't come from a file, pass null
.