How should I make a model if the JSON starts with a {?

This page summarizes the projects mentioned and recommended in the original post on /r/swift

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • This is some code I made filling out a table https://github.com/kessenma/API-filling-a-table-in-swift

  • quicktype

    Generate types and converters from JSON, Schema, and GraphQL

    If you are confused, paste the JSON into https://app.quicktype.io and it should help show what the model can look like in Swift. It sounds like you are getting a JSON record back, which is the most common response. Swift does not ignore the {.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts