Skip to content

Load JavaScript pure objects into Internet Object #9

@aamironline

Description

@aamironline
const io = new InternetObject({ name: "Spiderman", age: 25 }, "name, age")
const ioString = io.toString() // Without schema
const ioStringWithSchema = io.toString(true) // With schema

// Print ineternet object strings.
console.log(ioString) // Without schema
console.log(ioStringWithSchema) // With schema

Without schema prints following output.

Spiderman, 25

With schema prints following output.

name, age
---
Spiderman, 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions