You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are regular needs I encountered in my development practice:
struct.toJson() - required for storage and, sometimes I/O (when struct Json needs to be enclosed in some outer Json) operations; Workaround Json.parse(Jsonstringify(...)) is expensive and does not always work.
struct.fromJson(...) with proper support for standard types like DateTime, Enums, etc. Json.stringify() will convert these fields to strings, but fromJson() will fail.
struct.toFieldArray(), struct.fromFieldArray() - useful for tests and generic CVS
As a pre-condition forth and back conversion between Enums and strings - TypeScript supports it.
@Chriscbr I added you to my bluezone.endor.w GitHub repository. Here fromFieldArray is used for implementing Cucumber-like BDD tests. I do not have a practical example of toFieldArray(), but any serialization to a CVS-like file could use it.
Use Case
Here are regular needs I encountered in my development practice:
Proposed Solution
You may find a sample implementation here: https://github.com/asterkin/endor.w/tree/main/structx
Implementation Notes
No response
Component
SDK
Community Notes
The text was updated successfully, but these errors were encountered: