Transforms data from HJSON to JSON and the other way round easily and quickly

Programming language:


Current state:


Provider of the connector:


Type of license:



If you haven’t heard about HJSON yet, you absolutely need to check it out. As the dedicated webpage of Github states: “JSON is easy for humans to read and write… in theory.“ In practice, though, it leaves a lot of room for mistakes – forgotten quotes, a complex syntax that got you lost, and so on.

HJSON helps eliminate such errors. It’s not a replacement for JSON but rather a way to write and read JSON that is truly human-friendly. Plus it allows you to add comments inside your code!

But what if you need to quickly translate from HJSON to JSON format? Or maybe, the other way round? This is why our dev team created this connector: We use it excessively to parse, validate and generate HJSON data for the elastic.io platform, in particular for flow deployment, and now we provide it to all our users in case they will need to do just the same.

About HJSON connector

This connector was created particularly for the elastic.io platform and is compatible with all other connectors in your integration workflows. It comes standard with the platform.

Due to its nature, the HJSON integration connector doesn’t have a trigger function, therefore while an integration flow is being created, it won’t appear in the list of available connections as the first component. Instead, this connector transforms data from HJSON to JSON and vice versa and can only be chosen as an action.

Follow the Documentation link above to learn what expected input and output metadata of this connector are.

You cannot modify or expand this connector yourself since it is covered by a proprietary license. You are very welcome to get in touch with our pre-sales team at ps[@]elastic.io instead if you have any questions.

PLEASE NOTE: To use this connector, you must have an active account on the elastic.io integration platform. Here, you can sign up for a free, 14-day trial.

How to add and use HJSON on elastic.io

Step 1
Either in your Dashboard or Flows section of the platform, click on “Add new Flow” and select the data source which you’d like to convert to or from HJSON.

Once you’ve done this, you can select the connector itself.

Select the connector on the elastic.io integration platform

Step 2
The way how HJSON works is that it reads from attachments or inline code, transforms that data and then outputs it either as inline code or attachment, too. The direction of the code translation, the input as well as the output mechanism can be easily defined at the Configuration step.

Configuration of the HJSON connector

For more details on how to work with the HJSON component, please check the dedicated Documentation page following the link above.