JSON Options | Precisamento

JSON Options

Here you can find a short description for each of the constants beginning with JO_.

Description

Defines what inside a match or group are to be serialized.

Values

Name Description Value
NONE Serializes only the level being called (i.e. Matches only on regex_matches_json or groups only on match_get_groups_json). 0
GROUPS Serialize the groups, but not the captures. 1
CAPTURES Serializes all available information. 2