encodeJsonTree abstract method

Object? encodeJsonTree(
  1. T instance
)

Converts instance to a JSON tree.

Before calling this method, you should call isInstance to check whether instance is an instance of T .

Implementation

Object? encodeJsonTree(T instance);