Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddhi-io/siddhi-map-json

Extension which is used to convert JSON message to/from Siddhi events
https://github.com/siddhi-io/siddhi-map-json

extension json json-parser mapper siddhi

Last synced: 2 days ago
JSON representation

Extension which is used to convert JSON message to/from Siddhi events

Awesome Lists containing this project

README

        

Siddhi Map JSON
===================

[![Jenkins Build Status](https://wso2.org/jenkins/job/siddhi/job/siddhi-map-json/badge/icon)](https://wso2.org/jenkins/job/siddhi/job/siddhi-map-json/)
[![GitHub Release](https://img.shields.io/github/release/siddhi-io/siddhi-map-json.svg)](https://github.com/siddhi-io/siddhi-map-json/releases)
[![GitHub Release Date](https://img.shields.io/github/release-date/siddhi-io/siddhi-map-json.svg)](https://github.com/siddhi-io/siddhi-map-json/releases)
[![GitHub Open Issues](https://img.shields.io/github/issues-raw/siddhi-io/siddhi-map-json.svg)](https://github.com/siddhi-io/siddhi-map-json/issues)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-map-json.svg)](https://github.com/siddhi-io/siddhi-map-json/commits/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The **siddhi-map-json extension** is an extension to Siddhi that converts JSON messages to/from Siddhi events.

For information on Siddhi and it's features refer Siddhi Documentation.

## Download

* Versions 5.x and above with group id `io.siddhi.extension.*` from here.
* Versions 4.x and lower with group id `org.wso2.extension.siddhi.*` from here.

## Latest API Docs

Latest API Docs is 5.2.4.

## Features

* json *(Sink Mapper)*



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



* json *(Source Mapper)*


This extension is a JSON-to-Event input mapper. Transports that accept JSON messages can utilize this extension to convert an incoming JSON message into a Siddhi event. Users can either send a pre-defined JSON format, where event conversion happens without any configurations, or use the JSON path to map from a custom JSON message.
In default mapping, the JSON string of the event can be enclosed by the element "event", though optional.


## Dependencies

There are no other dependencies needed for this extension.

## Installation

For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.

## Support and Contribution

* We encourage users to ask questions and get support via StackOverflow, make sure to add the `siddhi` tag to the issue for better response.

* If you find any issues related to the extension please report them on the issue tracker.

* For production support and other contribution related information refer Siddhi Community documentation.