PLPayload LabJS SDK · 1.0.0
Payload Lab / Overview
Developer toolkit / JavaScript

Make structured data easier to work with.

A browser toolkit for inspecting JSON documents, comparing revisions and extracting values.

Start with the fundamentals

01

Formatting & validation

JSON is a data format, not JavaScript source.

Read more →
02

Selecting nested values

A pointer begins with a slash, except the empty pointer which denotes the entire document.

Read more →
03

Reviewing payload changes

Compare parsed documents rather than whitespace.

Read more →

Use the JavaScript library

Install nothing: save the ES module alongside your own script and import the methods you need. The library has no external dependencies and does not contact any server.

JavaScript
import { format } from "./sdk.js";

console.log(format('{"enabled":true}'));
Expected value
{
  "enabled": true
}

API reference

Method signatures, return types and exceptions.

Read more →

Examples

Run the documented examples in your browser.

Read more →

Limits & privacy

Processing limits and network behavior.

Read more →