synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 586 B
TypeScript
import JsonRxMessage from '@/components/DataGrid/utils/json-rx/JsonRxMessage';
/**
* Static utility methods intended to implement the JSON-Rx communication protocol
* Spec: https://jsonjoy.com/specs/json-rx
*/
export default class JsonRx {
/**
* Converts a JSON-encoded JSON-Rx message (which is always an array) into the appropriate JsonRxMessage subclass
*
* For more information, see the JSON-Rx specification: https://jsonjoy.com/specs/json-rx
* @param json
*/
static fromJson(json: unknown): JsonRxMessage;
}
//# sourceMappingURL=JsonRx.d.ts.map