Json.NET - Quick Starts & API Documentation
Read Method (reader, resolver)
Namespaces ► Newtonsoft.Json.Schema ► JsonSchema ► Read(JsonReader, JsonSchemaResolver)
Reads a JsonSchema from the specified JsonReader.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static JsonSchema Read( JsonReader reader, JsonSchemaResolver resolver )
Public Shared Function Read ( _ reader As JsonReader, _ resolver As JsonSchemaResolver _ ) As JsonSchema
public: static JsonSchema^ Read( JsonReader^ reader, JsonSchemaResolver^ resolver )
Parameters
- reader (JsonReader)
- The JsonReader containing the JSON Schema to read.
- resolver (JsonSchemaResolver)
- The JsonSchemaResolver to use when resolving schema references.
Return Value
The JsonSchema object representing the JSON Schema.