Exemplo n.º 1
0
        public BssomNumber Deserialize(ref BssomReader reader, ref BssomDeserializeContext context)
        {
            if (reader.TryReadNull())
            {
                return(null);
            }

            return(BssomObjectFormatterHelper.DeserializePrimitiveWithBssomPrimitiveType(ref reader));
        }
Exemplo n.º 2
0
        public BssomGuid Deserialize(ref BssomReader reader, ref BssomDeserializeContext context)
        {
            object val = BssomObjectFormatterHelper.DeserializeBssObject(ref reader, ref context, true);

            if (val == null)
            {
                return(null);
            }

            return((BssomGuid)val);
        }
Exemplo n.º 3
0
 public object Deserialize(ref BssomReader reader, ref BssomDeserializeContext context)
 {
     return(BssomObjectFormatterHelper.DeserializeBssObject(ref reader, ref context, context.Option.IsPriorityToDeserializeObjectAsBssomValue));
 }
Exemplo n.º 4
0
 public BssomValue Deserialize(ref BssomReader reader, ref BssomDeserializeContext context)
 {
     return((BssomValue)BssomObjectFormatterHelper.DeserializeBssObject(ref reader, ref context, true));
 }