Coder Social home page Coder Social logo

Comments (4)

gregneagle avatar gregneagle commented on July 18, 2024

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.

keeleysam avatar keeleysam commented on July 18, 2024

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.

grahamgilbert avatar grahamgilbert commented on July 18, 2024

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.

natewalck avatar natewalck commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.