Comments (4)
Disagree. JSON maps fairly well to plists, but it's not perfect. For example, there's no canonical way to represent a date in JSON, or distinguish between integers and floats (they are all numbers).
This tool is for managing OS X and should use OS X's native structured data representation. Supporting JSON and plist formats will just add code complexity.
from imagr.
plistlib is widely available as part of the standard Python library on
every operating system since 2.6.
I believe that JSON would confuse more than it could help.
On Wed, Apr 22, 2015 at 9:10 PM, Greg Neagle [email protected]
wrote:
Disagree. JSON maps fairly well to plists, but it's not perfect. For
example, there's no canonical way to represent a date in JSON, or
distinguish between integers and floats (they are all numbers).This tool is for managing OS X and should use OS X's native structured
data representation. Supporting JSON and plist formats will just add code
complexity.—
Reply to this email directly or view it on GitHub
#27 (comment).
Samuel Keeley
from imagr.
Python, Ruby and Node.js all have the ability to read and write plists, so I'm going to stick with plists. I've written apps that serve plists with Python before that worked fine (Sal+).
from imagr.
Ok, thats cool. I was just hoping to get some diversity here, especially when considering other environments. json is pretty much the standard for getting data back from a web API and therefore if you are integrating with other systems that are using web standards, this could make it easier, whereas plists are pretty unique to OS X.
from imagr.
Related Issues (20)
- imagr open behind select language pane in macOS Sierra HOT 3
- Imagr crashes if reporting server unavailable HOT 2
- Imagr crashes if timeapi.org returns unexpected data HOT 1
- Description text box for the workflows is not scrollable HOT 1
- Imagr logs a crash if a volume is unmounted HOT 2
- Setting time with http fails to respect timezone HOT 4
- Bug: first-boot items are not installed in order in macOS High Sierra
- validateplist doesn't append query string to background_image check
- Packages/DMGs with spaces will fail if using gurl HOT 2
- Feature request: Prevent Mac from sleeping while Imagr app is running a workflow HOT 1
- first-boot infinite loop if exit code non-zero HOT 7
- After APFS to HFS Conversion via script will casue Imagr to hang HOT 9
- Does not work with macOS 10.13.4 Installer HOT 4
- 10.11 NBI workflow start crash HOT 1
- Workflow doesn't recognize volume format change HOT 4
- Auto key of computer_name component ignored when part of included workflow HOT 2
- com.apple.osinstall error -3 on OS X 10.13.4 if workflow writes to formatted target before startosinstall HOT 2
- first_boot LaunchDaemon does not get created when startosinstall is called via included_workflow HOT 1
- Imagr (High Sierra) preventing reboot during install workflow HOT 1
- first-boot fails to start after Mojave install HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagr.