Reason a JSON patch object failed to parse.

Synopsis

Declared in <folly/json/json_patch.h>

enum class parse_error_code : uint8_t;

Members

Name

Description

undefined

No specific error.

invalid_shape

The patch document has an unexpected shape.

missing_op

An operation is missing its "op" attribute.

unknown_op

The "op" attribute names an unknown operation.

malformed_op

The "op" attribute is malformed.

missing_path_attr

An operation is missing its "path" attribute.

malformed_path_attr

The "path" attribute is malformed.

missing_from_attr

An operation is missing its "from" attribute.

malformed_from_attr

The "from" attribute is malformed.

missing_value_attr

An operation is missing its "value" attribute.

overlapping_pointers

Two pointers in the operation overlap.

Created with MrDocs