Skip to content

feat: cascade for table/json obj #3

@hugosenari

Description

@hugosenari

Would be cool if it has any syntax sugar for []=

import cascade
import json

let myObj = cascade newJObject:
    myAttr = "myValue"
    myOther = cascade newJObject:
        innerAttr = "innerValue"
    myArray = cascade newJArray:
        - "first value"
        - "second value"

Maybe I just need a YAML but it has so nice features if/when and nice DSL for write JSON/YAML

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions