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
Is there a way to serialize a Reccurence pattern into Json ?
Reason is that I want to serialize it to a UI and therefore it would be great to expose as json so I can bind directly into any view model.
Additionally it would be a bit more descriptive when passing between borders :)
What do you think ?
The text was updated successfully, but these errors were encountered:
There's nothing in the iCalendar specifications regarding JSON so I've never addressed it. I don't see any reason it couldn't be serialized to JSON but it would specific to this project. I don't use JSON much and only have a passing familiarity with how things can be structured so I'm not the best one to implement it. Given the properties I'm not sure how you'd be able to serialize them in such as way as to be useful for binding.
The use case would be a schedule interface like you have in Microsoft Outlook.
So it would be of benefit to have a native way (from your library) to at least serialize tze helper methods like Weekly, Monthly and son on which are implememted in Reccurence class.
So we cold save the ical string and backbparsing it to a json which handles the web UI .
I have done this by abstracting Reccurence class but had to look in source to get the right integers e.g. when using DayOccurence.
So I thought would be great having rhis native from the llibrary anyhow.
Is there a way to serialize a Reccurence pattern into Json ?
Reason is that I want to serialize it to a UI and therefore it would be great to expose as json so I can bind directly into any view model.
Additionally it would be a bit more descriptive when passing between borders :)
What do you think ?
The text was updated successfully, but these errors were encountered: