Our great sponsors
|PXGoogleDirections||Paste JSON as Code • quicktype|
|over 3 years ago||over 1 year ago|
|BSD 3-clause "New" or "Revised" License||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning PXGoogleDirections yet.
Tracking mentions began in Dec 2020.
Paste JSON as Code • quicktype
Ultra-minimal JSON schemas with TypeScript inference
11 projects | news.ycombinator.com | 27 Jul 2022
This looks really nice as an alternative to JSON schema, which is horribly verbose. Like using RELAX NG compact syntax for XML schemas back in the day, versus horrible verbose DTDs or XSDs.
But I think the most natural way to express JSON schemas would be TypeScript type declarations. Is there a project that can take a TS type and generate a runtime parser/validator for it?
I thought maybe Quicktype (https://quicktype.io/) was that, but it looks like it only takes JSON as input, not TS types.
Creating a struct for an API call (JSON)
2 projects | reddit.com/r/swift | 11 Jul 2022
I like to use quicktype.io for making codables out of JSON. For nested JSON, like that location object you have in there, quicktype typically creates a nested codable and just sets the "location" inside of the parent codable to that location codable type. If you want to access it, you would decode the entire thing and pull the location out. That pattern works for my uses, but for your use, like if the JSON is enormous and you only want the location from the entire thing, there might be a better way.
What’s your favorite tools to use that makes your job easier? Software or hardware.
3 projects | reddit.com/r/networking | 27 Jun 2022
https://quicktype.io Godsend to convert JSON into data structures in any language.
TypeScript devs: what are some issues that TypeScript cause that would be solved with a dev tool/library?
2 projects | reddit.com/r/typescript | 1 May 2022
Not sure if there is a VSCode extension, but you should check out https://quicktype.io/
Swift JSON parse problem
2 projects | reddit.com/r/swift | 20 Mar 2022
While quicktype.io is a great tool (I have used it in work before), I would first get comfortable trying to build your own models first to fully understand it - the learning provided will ultimately serve you better than using quicktype.io to automatically generate you the models instead.2 projects | reddit.com/r/swift | 20 Mar 2022
Your struct is wrong and doesn't follow the JSON content, which is an outer record containing inner records with more records. Try pasting the JSON into a tool like https://quicktype.io/ and it should create a proper struct that matches it for you.
Just released a new update of DevToys!
5 projects | reddit.com/r/csharp | 14 Feb 2022
Love it dude, been using it at work and introduced a fellow dev to it. The only thing missing for us is something like quicktype
Help with swift DecodingError.
2 projects | reddit.com/r/swift | 1 Jan 2022
Here's a great resource: https://quicktype.io
Help parsing JSON with Retrofit & Moshi
4 projects | reddit.com/r/Kotlin | 24 Dec 2021
This one is gold, and an alternative I use when working with other languages is quicktype
A tool for generating structs based on json I have
3 projects | reddit.com/r/golang | 25 Sep 2021
This is a CLI tool I've used before. https://quicktype.io/
What are some alternatives?
Swinject - Dependency injection framework for Swift with iOS/macOS/Linux
Cleanse - Lightweight Swift Dependency Injection Framework
PredictionIO SDK - PredictionIO iOS / macOS SDK
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
GooglePlacesAutocomplete - Google Places address entry for iOS (Swift)
RandomUserSwift - 👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me
reddift - Swift Reddit API Wrapper
Route-me - Open source map library for iOS
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
MonkeyKing - MonkeyKing helps you to post messages to Chinese Social Networks.