This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
The json-encoder in go escapes < > making it hard to read expressions #346
Labels
bug
Something isn't working
The json-encoder used in corectl escapes common characters such as < > before sending this to the engine. It is correct json and engine handles this correctly and the presentation for the user mostly unescapes before sending back to the users. In some case it isn't and for reading purposes, especially in set expressions, this makes it really hard to read.
Consider changing the presentation of the json output to unescape the characters in following cases (may be more):
Example:
engine communication
--> {"jsonrpc":"2.0","delta":false,"method":"SetProperties","handle":2,"id":4,"params":[{"qInfo":{"qId":"dim-1","qType":"dimension"},"qDim":{"qLabel":"\u003e\u003e\u003c\u003c !#€%\u0026/()=?","qFieldDefs":["({$\u003cType={'feature'}\u003e} Size)"]},"qMetaDef":{"title":"\u003e\u003e\u003c\u003c !#€%\u0026/()=?"}}]}
corectl dimension layout dim-1
unbuild output:
The text was updated successfully, but these errors were encountered: