1using System.Diagnostics;
8internal class QueryValSerializer : BaseSerializer<QueryObj>
11 throw new NotImplementedException();
18 writer.WriteNullValue();
21 writer.WriteStartObject();
22 writer.WriteFieldName(
"value");
23 var ser = v.Unwrap is not
null ? Serializer.Generate(context, v.Unwrap.GetType()) : DynamicSerializer.Singleton;
25 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 a dictionary of FQL queries.
Represents a generic value holder for FQL queries. This class allows embedding values of various type...
override void Serialize(MappingContext ctx, Utf8FaunaWriter writer)
Serializes the query value.
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