Skip to content

Does it make sense to include an Add method for adding a new key/value to an existing object? #73

Open
@andrewheadricke

Description

@andrewheadricke

Currently I have to convert the cbor node to JSON, then modify the doc as a interface{}, then create a byte reader and pass it back to .FromJSON() to get a new cbor node.

Would it make sense to include an Add() method so I can make my change without all the conversions?

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