0.1.0 • Published 4 years ago

insomnia-plugin-xml-json v0.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Insomnia Plugin XML-JSON

Npm Version

This plugin was created with the incentive that I am working on a project in that the api returns me an XML and inside it has a JSON and with it the (Insomnia which is incredible software) fails to format properly.

The format that the api returns to me is the following:

<?xml version="1.0" encoding="utf-8"?>
<string>{"customers":[{"name":"Jhon Doe","email":"jhondoe@email.com"}]}</string>

The plugin only extracts the json from inside the string tag and returns it like this:

{
  "customers": [
    {
      "name": "Jhon Doe",
      "email": "jhondoe@email.com"
    }
  ]
}

Installing plugin

Access the Application / Preferences menu and then select the Plugins tab, enter the plugin name insomnia-plugin-xml-json and click Install Plugin.

plugins

After installing the plugin click on enable

installed