mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Build-in CoreStoreObject to JSON encoding #223
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DimaZava on GitHub (Jul 17, 2018).
@HaiyuanZh commented on GitHub (Mar 23, 2019):
might try this:
@Saklad5 commented on GitHub (May 6, 2020):
If this is ever done, it should be in the form of automatic conformance to
Encodable. However, given that encoding inverse relationships would lead to infinite recursion, I think the entire concept of encoding single objects is flawed.Personally, I think it would make more sense to implement an
NSAtomicStoresubclass for JSON, along the lines of the existing XML store. I don’t think that needs to be part of CoreStore to work, either.