grpc-swift VS json-api

Compare grpc-swift vs json-api and see what are their differences.

grpc-swift

The Swift language implementation of gRPC. (by grpc)

json-api

A specification for building JSON APIs (by json-api)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
grpc-swift json-api
8 59
1,945 7,314
1.4% 0.5%
9.3 4.9
about 23 hours ago 5 days ago
Swift CSS
Apache License 2.0 Creative Commons Zero v1.0 Universal
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

grpc-swift

Posts with mentions or reviews of grpc-swift. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-19.
  • LinkedIn Adopts Protocol Buffers and Reduces Latency Up to 60%
    4 projects | news.ycombinator.com | 19 Jul 2023
  • Trouble building for ios device
    7 projects | /r/bazel | 23 Nov 2022
    load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "com_github_buildbuddy_io_rules_xcodeproj", sha256 = "564381b33261ba29e3c8f505de82fc398452700b605d785ce3e4b9dd6c73b623", url = "https://github.com/buildbuddy-io/rules_xcodeproj/releases/download/0.9.0/release.tar.gz", ) http_archive( name = "cgrindel_rules_spm", sha256 = "03718eb865a100ba4449ebcbca6d97bf6ea78fa17346ce6d55532312e8bf9aa8", strip_prefix = "rules_spm-0.11.0", url = "https://github.com/cgrindel/rules_spm/archive/v0.11.0.tar.gz", ) load( "@cgrindel_rules_spm//spm:defs.bzl", "spm_pkg", "spm_repositories", ) load( "@cgrindel_rules_spm//spm:deps.bzl", "spm_rules_dependencies", ) spm_rules_dependencies() load( "@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:repositories.bzl", "xcodeproj_rules_dependencies", ) xcodeproj_rules_dependencies() load( "@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies", ) apple_rules_dependencies() load( "@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies", ) swift_rules_dependencies() load( "@build_bazel_rules_swift//swift:extras.bzl", "swift_rules_extra_dependencies", ) swift_rules_extra_dependencies() load( "@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies", ) apple_support_dependencies() spm_repositories( name = "swift_pkgs", platforms = [ ".macOS(.v10_15)", ], dependencies = [ spm_pkg( url = "https://github.com/apple/swift-log.git", exact_version = "1.4.2", products = ["Logging"], ), spm_pkg( url = "https://github.com/pointfreeco/swift-composable-architecture.git", exact_version = "0.43.0", products = ["ComposableArchitecture"], ), spm_pkg( name = "Bow", url = "https://github.com/bow-swift/bow.git", exact_version = "0.8.0", products = ["Bow", "BowEffects", "BowOptics"], ), spm_pkg( url = "https://github.com/grpc/grpc-swift.git", exact_version = "1.7.3", products = ["GRPC"], ), spm_pkg( url = "https://github.com/hyperoslo/Cache", exact_version = "6.0.0", products = ["Cache"], ), ], )
  • anyone has used grpc in iOS app?
    1 project | /r/iOSProgramming | 3 Jul 2022
    Did you have a look at examples on grpc-swift ?
  • Considering gRPC-C++ for an iOS project
    2 projects | /r/iOSProgramming | 19 Feb 2022
    You don’t want to use the Swift version?
  • Fullstack grpc tutorials?
    1 project | /r/iOSProgramming | 24 Oct 2021
    The Basic Tutorial or examples from the gRPG-Swift repository might be useful to you as well.
  • Application design: communication from Rust to another language
    5 projects | /r/rust | 20 Jul 2021
    At the moment I would recommend gRPC for Swift and Rust, even though in general gRPC drives me insane, it is currently the most convenient choice. Use tonic for the Rust server-side, and grpc-swift for the client-side. I've had quite a lot of success with this in the past.
  • gRPC Implementation in Swift
    1 project | /r/swift | 4 Jun 2021
  • REST vs. gRPC vs. GraphQL
    10 projects | news.ycombinator.com | 15 Mar 2021
    Swift is at least supported via Objective-C, and swift-grpc looks solid https://github.com/grpc/grpc-swift

json-api

Posts with mentions or reviews of json-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-22.
  • Hatchify: The Fastest Way to Build JSON: APIs
    2 projects | dev.to | 22 Mar 2024
    In addition to saving you time on boilerplate, the API provided by Hatchify fully implements the JSON: API specification, which stipulates solid standards to define the peculiarities of CRUD REST APIs. Get back all the time spent bike-shedding how to implement standard API features like filtering, pagination, including related data, etc. JSON: API offers consistent practices for frontend and backend developers to agree on how resources are fetched and returned. Since Hatchify provides the core of your API for you, you can count on it’s standardized functionality to give your API a consistent start.
  • SQL as API
    7 projects | news.ycombinator.com | 25 Dec 2023
  • Show HN: Sunnybox – An Email API for Effortless IMAP Integration
    2 projects | news.ycombinator.com | 21 Dec 2023
    -JSON:API format responses (https://jsonapi.org) for better standardization.

    Built using Ruby on Rails, Sunnybox is designed to offer a powerful yet easy-to-use solution for developers managing email systems.

    I'd really appreciate your feedback on:

    - The API's user-friendliness and efficiency.

  • What if an SQL Statement Returned a Database?
    4 projects | news.ycombinator.com | 12 Dec 2023
    https://github.com/json-api/json-api/issues/795

    There is an atomic operations extension:

  • A View on Functional Software Architecture
    5 projects | dev.to | 10 Dec 2023
    JSON:API to format each message
  • Custom Fields: Give Your Customers the Fields They Need
    1 project | dev.to | 6 Dec 2023
    As we’re building a RESTful API that’s formatted by the JSON:API specification and store our data in a MySQL8 relational database, a few things were pretty straightforward – we need a new model and we’ll name it Custom Field (naming wasn’t an issue here 🥲).
  • How to (and how not to) design REST APIs
    3 projects | news.ycombinator.com | 1 Nov 2023
    I found json api spec[1] recently. This kind of is better standard for REST APIs. It is bit rough to handle client side but once you get the hang of it, it is breeze to use

    [1] https://jsonapi.org/

  • Building a Secure RESTful API Using NestJS and Prisma With Minimum Code
    5 projects | dev.to | 6 Sep 2023
    That's it! Now we have a complete set of RESTful CRUD APIs at "/api/zen" that conforms to the JSON:API specification, and the access policies fully protect the APIs. The API provides rich filtering and relation-fetching capabilities. The following are some examples; you can find more details here.
  • JSON Schema Store
    5 projects | news.ycombinator.com | 20 Aug 2023
    Does this have any relation to https://jsonapi.org/ ?
  • An Introduction to APIs
    2 projects | news.ycombinator.com | 30 Jul 2023
    Basic REST and JSON RPC are very simple to start with, but have common problems when application gets bigger. How do you represent relations, pagination, filtering etc? My go-to specification for structuring JSON documents is https://jsonapi.org/ It covers most basic needs of a standard API.

What are some alternatives?

When comparing grpc-swift and json-api you can also consider the following projects:

grpc-web - gRPC for Web Clients

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

hasura-cms - Automatically exposed GraphQL API via Hasura with schema + permissions for GraphCMS-like handling of content types

api-guidelines - Microsoft REST API Guidelines

grpc-over-webrtc - gRPC over WebRTC

laravel-json-api - JSON API (jsonapi.org) package for Laravel applications.

cffi - Safe* C foreign function interface for Rust, using proc macros and marshaling types.

apollo - 🚀 Apollo/GraphQL integration for VueJS

graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

Cache - :package: Nothing but Cache.

postman-app-support - Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.