Einhugur JSON Plugin III for Xojo

JSONArray.CompareNodesDelegate Delegate (console safe)

Delegate for sort routine to be used with the Sort method.

CompareNodesDelegate(
   a as EinhugurJSONIII.JSONPrimitive,
   b as EinhugurJSONIII.JSONPrimitive) as Boolean

Parameters

a
Element a to compare.
b
Element b to compare.

Returns

Boolean
True if a < b, else false.

Remarks

Sort routine implementing this delegate should return true if a < b, else false.

See Also

JSONArray Class