Stof Docs
Star on GitHubStof WebsiteDiscordContact Us
  • 🚀Welcome
  • ℹ️Resources & Information
  • Book
    • Data Interface
    • Introduction & Design
    • Host Environments
      • Rust
      • TypeScript
        • Extend Stof
        • Import Statement
    • Data Interchange
      • JSON to Stof
      • Importing and Parsing Data
      • Exporting Data
      • REST and Restructure
    • Configuration Files
    • Schemas
      • Renaming Fields
      • Removing Fields
      • Validation & Transformation
        • Example Access
      • Nested Schemas
    • Orchestration
  • Common Concepts
    • Objects
    • Primitive Types
    • Functions
    • Fields
    • Object Types
    • Imports
    • Error Handling
    • Units
    • Casting/Conversions
  • Reference
    • CLI
      • 🏃Run
      • 🧪Test
      • 📚CLI Libraries
        • Filesystem Library
        • Time Library
        • HTTP Library
    • Stof Language
    • Libraries
      • Standard Library
      • Array/Vector Library
      • Number Library
      • String Library
      • Object Library
      • Function Library
      • Set Library
      • Map Library
      • Data Library
      • Tuple Library
      • Blob Library
      • Boolean Library
    • 🪧Formats
Powered by GitBook
On this page

Was this helpful?

  1. Book

Data Interchange

Using Stof for data interchange.

Out of the box, Stof is very helpful for working with interchange data, like JSON, YAML, etc.

  • Unified data interface, adding functions, types, and a mutable structure to existing data.

  • Acting as an intermediate representation, Stof can transform and control data between systems.

    • Filter data (access control)

    • Rename, restructure, and alter/add types (schema transformations)

    • Orchestrate multiple systems together

    • Import data in one format, transform it as Stof and then export it as another

In this section, we'll dive into interchange data, starting with turning a JSON document into a Stof document.

PreviousImport StatementNextJSON to Stof

Last updated 3 months ago

Was this helpful?