private static void ResetContextAndParser(DocumentsOperationContext context, UnmanagedJsonParser parser) { parser.ResetStream(); context.ResetAndRenew(); parser.SetStream(); }