parseMessage() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Parse the string syntax representation of a message into its corresponding data model representation.

Signature:

export declare function parseMessage(source: string, opt?: {
    resource?: boolean;
}): MessageParsed;

Parameters

Parameter Type Description
source string  
opt { resource?: boolean; } (Optional)

Returns:

MessageParsed