mgl_jsonExpressionObject property

ObjCObjectBase get mgl_jsonExpressionObject

An equivalent Foundation object that can be serialized as JSON.

The Foundation object conforms to the MapLibre Style Spec. See the “Information for Style Authors” guide for a correspondence of operators and types between the style specification and the NSExpression representation used by this SDK.

You can use NSJSONSerialization to serialize the Foundation object as data to write to a file.

Implementation

objc.ObjCObjectBase get mgl_jsonExpressionObject {
objc.checkOsVersionInternal('NSExpression.mgl_jsonExpressionObject', iOS: (false, (3, 0, 0)), macOS: (false, (10, 4, 0)));
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_mgl_jsonExpressionObject);
  return objc.ObjCObjectBase(_ret, retain: true, release: true);
}