1

Is it possible to generate JSON file from xcdatamodel?

Here's how I imagine it would work: Given a xcdatamodel file, going through some program with some custom logic (will probably be written by me), will generate JSON file for me to use in third-party library. My question: Is this possible? Has anyone ever done it?

ndmeiri
  • 4,979
  • 12
  • 37
  • 45
TooCool
  • 10,598
  • 15
  • 60
  • 85

1 Answers1

0

The content of xcdatamodel is a content file with xml data and as bin file (no extension) so now it is easy to parse xml to json.

TooCool
  • 10,598
  • 15
  • 60
  • 85