Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stopgap JSON Serialisation #637

Closed
3 tasks
iamrecursion opened this issue Apr 21, 2020 · 0 comments
Closed
3 tasks

Add Stopgap JSON Serialisation #637

iamrecursion opened this issue Apr 21, 2020 · 0 comments
Assignees
Labels
-tooling Category: tooling p-medium Should be completed in the next few sprints

Comments

@iamrecursion
Copy link
Contributor

Summary

Implement a stopgap solution for serialising Enso data to JSON in order to allow IDE to display JSON visualisations under the hood.

Value

A stopgap solution for serialising Enso objects to JSON will allow IDE to complete this portion of their integration sooner.

Specification

Please note that this stopgap solution only allows for serialisation, and not deserialisation.

  • The temporary toJSON : Any -> Text will return a JSON string.
  • Implement a generic toJSON on Any as a builtin in the interpreter.
  • This should be backed by a Java implementation.

Acceptance Criteria & Test Cases

  • We have a way of serialising Enso objects to JSON implemented in the runtime.
  • The serialisation functionality produces well-formed JSON and is tested to do so.
@kustosz kustosz closed this as completed Apr 29, 2020
@iamrecursion iamrecursion transferred this issue from another repository Jun 23, 2020
@joenash joenash added -tooling Category: tooling Change: Non-Breaking p-medium Should be completed in the next few sprints labels Jun 23, 2020
@iamrecursion iamrecursion mentioned this issue Jun 24, 2020
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-tooling Category: tooling p-medium Should be completed in the next few sprints
Projects
None yet
Development

No branches or pull requests

3 participants