Skip to main content

Structured Data

BSON serialise Data Processor

Transform structured data with BSON serialise and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Your result appears here

Transform structured data with BSON serialise and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

BSON serialise Data Processor encodes supported document data into BSON bytes.

BSON bytes containing the name field. Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Use a document with supported BSON value types.
  3. Check byte output with a BSON decoder.
  4. Keep type requirements from the receiving database.

Example

Input: {"sku":"A-17"}

Settings: BSON serialise Data Processor: Run the default BSON serialise operation.

Result: BSON bytes containing the name field.

Limits

  • BSON serialise Data Processor: BSON output is binary and needs a compatible transport.
  • BSON serialise Data Processor: JSON input cannot express every BSON-specific type without conventions.
  • BSON serialise Data Processor: Processing stays in the browser.