8internal class QueryExprSerializer : BaseSerializer<QueryExpr>
11 throw new NotImplementedException();
18 writer.WriteNullValue();
21 writer.WriteStartObject();
22 writer.WriteFieldName(
"fql");
23 writer.WriteStartArray();
24 foreach (var t
in o.Unwrap)
26 var ser = Serializer.Generate(context, t.GetType());
29 writer.WriteEndArray();
30 writer.WriteEndObject();
Represents error that occur during serialization and deserialization of Fauna data.
A class representing the mapping context to be used during serialization and deserialization.
Represents an FQL query expression. This class encapsulates a list of IQueryFragment instances,...
override void Serialize(MappingContext ctx, Utf8FaunaWriter writer)
Serializes the query expression.
string UnsupportedSerializationTypeMessage(Type type)
A helper to build an unsupported serialization type exception message.
object? ISerializer. Deserialize(MappingContext ctx, ref Utf8FaunaReader reader)
Consumes or partially consumes the provided reader and deserializes into a result.
void ISerializer. Serialize(MappingContext context, Utf8FaunaWriter writer, object? o)
Serializes the provided object onto the Utf8FaunaWriter