/// <summary> /// Create a new serializer with default serialization options /// </summary> public JsonLdWriter() { _options = new JsonLdWriterOptions(); }
/// <summary> /// Create a new serializer with the specified serialization options /// </summary> /// <param name="options"></param> public JsonLdWriter(JsonLdWriterOptions options) { _options = options; }
/// <summary> /// Create a new GZippedJsonLdWriter with a specific set of /// <see cref="JsonLdWriterOptions"/>. /// </summary> /// <param name="writerOptions">The writer options to pass through /// to the underlying <see cref="JsonLdWriter"/>.</param> public GZippedJsonLdWriter(JsonLdWriterOptions writerOptions) : base(new JsonLdWriter(writerOptions)) { }