Ejemplo n.º 1
0
 /// <summary>
 /// Converts an object to a <see cref="JsonValue"/>.
 /// </summary>
 /// <param name="serializer">The <see cref="JsonSerializer"/> instance to use for additional
 /// serialization of values.</param>
 /// <returns>The <see cref="JsonValue"/> representation of the object.</returns>
 public JsonValue ToJson(JsonSerializer serializer)
 {
     return(_schema.ToJson(serializer));
 }