Flutter iOS Embedder
FlutterJSONMessageCodec Class Reference

#import <FlutterCodecs.h>

Inheritance diagram for FlutterJSONMessageCodec:
<FlutterMessageCodec>

Additional Inherited Members

- Instance Methods inherited from <FlutterMessageCodec>
(NSData *_Nullable) - encode:
 
(id _Nullable) - decode:
 
- Class Methods inherited from <FlutterMessageCodec>
(instancetype) + sharedInstance
 

Detailed Description

A FlutterMessageCodec using UTF-8 encoded JSON messages.

This codec is guaranteed to be compatible with the corresponding JSONMessageCodec on the Dart side. These parts of the Flutter SDK are evolved synchronously.

Supports values accepted by NSJSONSerialization plus top-level nil, NSNumber, and NSString.

On the Dart side, JSON messages are handled by the JSON facilities of the dart:convert package.

Definition at line 81 of file FlutterCodecs.h.


The documentation for this class was generated from the following file: