snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

fix: return proper JSON from REST API

Open joske opened this issue 8 months ago • 1 comments

Motivation

Some endpoints return just a Display implementation for serializing of a Value. This leads to invalid JSON. See #3361. Note that this approach does preserve order.

Filing as draft to solicit feedback.

Test Plan

Tested manually as described in the linked issue.

joske avatar Apr 22 '25 10:04 joske

@vicsn @niklaslong I think this approach is acceptable, it only changes the behaviour for the REST call.

joske avatar Apr 22 '25 10:04 joske

Closing this in favor of #3751.

kaimast avatar Jul 23 '25 01:07 kaimast