C# Class Pomona.Schemas.Schema

Mostrar archivo Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
FromJson ( string jsonString ) : Schema
IsBackwardsCompatibleWith ( Schema oldSchema, TextWriter errorLog ) : bool
Schema ( ) : System
ToJson ( ) : string

Private Methods

Method Description
GetSerializer ( ) : JsonSerializer
HttpAccessModeToMethodsArray ( HttpMethod httpMethod ) : string[]
MethodsArrayToHttpAccessMode ( string methods ) : HttpMethod
PropertiesAreBackwardsCompatible ( TextWriter errorLog, SchemaTypeEntry oldType, SchemaTypeEntry newType, bool &isBackwardsCompatible, string typeName ) : void

Method Details

FromJson() public static method

public static FromJson ( string jsonString ) : Schema
jsonString string
return Schema

IsBackwardsCompatibleWith() public method

public IsBackwardsCompatibleWith ( Schema oldSchema, TextWriter errorLog ) : bool
oldSchema Schema
errorLog System.IO.TextWriter
return bool

Schema() public method

public Schema ( ) : System
return System

ToJson() public method

public ToJson ( ) : string
return string