Skip to content

minudika/siddhi-map-json

 
 

Repository files navigation

siddhi-map-json

The siddhi-map-json extension is an extension to Siddhi which is used to convert JSON message to/from Siddhi events.

Find some useful links below:

Latest API Docs

Latest API Docs is 4.0.39.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.map.json</groupId>
        <artifactId>siddhi-map-json</artifactId>
        <version>x.x.x</version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • json (Sink Mapper)

    This extension is an Event to JSON output mapper.
    Transports that publish messages can utilize this extensionto convert Siddhi events to JSON messages.
    You can either send a pre-defined JSON format or a custom JSON message.

  • json (Source Mapper)

    JSON to Event input mapper. Transports which accepts JSON messages can utilize this extensionto convert the incoming JSON message to Siddhi event. Users can either send a pre-defined JSON format where event conversion will happen without any configs or can use json path to map from a custom JSON message.
    In default mapping, json string of the event could be enclosed by the element "event" which is optional.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%