apoc.graph.validateDocument
Syntax |
|
||
Description |
Validates the JSON file and returns the result of the validation. |
||
Input arguments |
Name |
Type |
Description |
|
|
The JSON object to validate. |
|
|
|
|
|
Return arguments |
Name |
Type |
Description |
|
|
The result of the validation. |
Usage Examples
CALL apoc.graph.validateDocument('[{"foo": "foo"}, {"bar": "bar", "id": 1, "type": "label"}, {"fooBar": "fooBar", "id": 1}]');
row |
---|
{message: "The object |
{message: "The object |