Jayson for Mac v1.7
- microsoft project
来自Mac App Store官方介绍
Jayson is displaying the contents of a JSON file in an outline view.
Why is that such a big deal? Well you already know how to use an outline view since it is a standard macOS control used in Finder, Xcode and many other apps. You intuitively know how to use the most important features. Although there are many small hidden features that make your life easier.
Jayson 1.7 brings a lot of nerdy stuff.
The most important change is something that you cannot see. From now on Jayson is using a customised Swift version of (NS)JSONSerialization. As a bright nerd you might ask: Why ship your own JSON parser (or modify an existing parser) when you can just use what is already there?! Why reinvent the wheel? Let me explain:
Using plain vanilla NSJSONSerialization works but has its drawbacks. NSJSONSerialization turns JSON data into foundation objects. A JSON object becomes an NSDictionary and this is one of the main pain points. NSDictionary is not really ordered. This means that parsing a JSON document by using NSJSONSerialization gives me no chance to respect the order of the objects as they were in the JSON document.
In practice this has the following effect: Imagine you open a JSON document using Jayson. Suppose further that the JSON document contains at least one JSON object/dictionary. Then you make a tiny change using Jayson. When Jayson writes your changes back to the file it would do so by using NSJSONSerialization. Since NSJSONSerialization has no sense of order your file could be totally messed up.
Using a customised version of NSJSONSerialization allows Jayson to solve that problem.
It also allows Jayson to generate more helpful error/validation messages that contain the line where the error occurred.
Switching to a customised version of NSJSONSerialization is far from trivial. If you experience crashes or unexpected behaviour please contact me:
Oh and by the way: Using a customised version of NSJSONSerialization allows me to add new cool features in the future. So stay tuned, enjoy the sun, life, coding, food and a customised version of NSJSONSerialization. :)
相关截图 图片数： 4 张(点击图片查看大图)
下载列表 文件数： 2 文件大小： 4.59 MB举报
- Jayson for Mac (链接无效或不能下载请点击反馈给我们)
文件名 版本 下载次数 上传时间 上传者 操作 1. Mac App Store官方下载 免费下载 v1.7 8 2017-03-20 Christian Kienle 商店下载 2. christian-kienle.de 官方原版 v1.4.1 1 2017-03-20 网友共享 点击下载 苹果软件园为积极推动苹果电脑在国内的发展，倡导资源共享，软件汉化。所有下载链接均来自网友分享试用,请24小时内删除!希望大家有条件的积极支持正版.