Skip to content

How often is it necessary to create JAYSON objects? #2

@gerchicov-bp

Description

@gerchicov-bp

Open Tests.swift and look at func testBuild().

I understand that root element should be JAYSON but is it always necessary to call JAYSON(JAYSON(JAYSON(...))) instead of inner Swift literals?

For example, could you explain the difference between j["tree1"] = JAYSON(["index" : "myvalue"]) and j["tree1"] = ["index" : "myvalue"]?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions