Ejemplo n.º 1
0
 protected override PhpValue CommonDeserialize(Context ctx, Stream data, RuntimeTypeHandle caller)
 {
     return(ObjectReader.DeserializeWithError(ctx, StreamToSpan(data), new JsonReaderOptions
     {
         CommentHandling = JsonCommentHandling.Skip,
         AllowTrailingCommas = true,
         MaxDepth = this._decodeOptions.Depth,
     }, this._decodeOptions.Options));
 }