qmetrics.net

SwiftyJSON

Swift library for simpler JSON access

Frameworks & PlatformsDesktop/CLI app

SwiftyJSON offers chainable subscripts and typed getters so Swift apps can read and write JSON without heavy optional chaining. It targets Apple platforms via CocoaPods, Carthage, or Swift Package Manager.

Overview

SwiftyJSON is a Swift package focused on reading and updating JSON when the structure is only partly known at compile time. Swift's strong typing makes nested API payloads awkward with raw dictionaries; the library wraps parsed data so you can reach fields with shorter subscript expressions and automatic optional handling.

You initialize from Data, strings, or other inputs, then navigate arrays and dictionaries with subscripts, loops, and explicit error types. It exposes optional and non-optional getters (including xxxValue helpers), setters, raw object access, literal convertibles, and existence checks.

Merge helpers combine two JSON values, appending arrays or recursively merging dictionaries when keys collide. You can remove keys in place on dictionary-backed objects. String output can use Swift's default formatting or a custom serializer that prints null for nil.

Documentation covers integration with common networking stacks, including examples with Alamofire and Moya, plus a separate model generator tool. Targets include iOS, macOS, tvOS, and watchOS with recent Xcode and Swift toolchain requirements.

Key features

  • Chainable JSON subscripts
  • Optional and non-optional typed getters
  • SwiftyJSONError enum for failures
  • JSON merge and merged copy helpers
  • In-place dictionary key removal
  • Alamofire response integration examples
  • Moya parsing examples
  • CocoaPods, Carthage, and SPM install paths

Use cases

  • Parsing REST API responses in Swift
  • Reducing optional chaining in JSON models
  • Combining partial JSON configuration blobs
  • Networking layers built on Alamofire or Moya
  • Quick prototyping against loosely typed payloads

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT