Skip to content

Support child class / interface implementations #78

@kevinresol

Description

@kevinresol

I am not very sure if this make sense for tink_json, but it would be quite useful if supported.

interface Base {}

class Foo implements Base {}
class Bar implements Base {}

function main() {
	var base:Base;
	var s = tink.Json.stringify(base); // store the actual runtime class somehow
	base = tink.Json.parse(s); // get back the correct implementation
}

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