set_max_items


Description:

[ Version ( since = "2.1.1" ) ]
public void set_max_items (uint max_items)

Sets the maximum number of items in an array or object.

The default maximum items is g_maxuint16, but users of JsonParser should use this function to set a better limit.

Parameters:

this

a JsonParser

max_items

max items