json_rpc_2 3.0.3 copy "json_rpc_2: ^3.0.3" to clipboard
json_rpc_2: ^3.0.3 copied to clipboard

Utilities to write a client or server using the JSON-RPC 2.0 spec.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_rpc_2
copied to clipboard

With Flutter:

 $ flutter pub add json_rpc_2
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  json_rpc_2: ^3.0.3
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:json_rpc_2/json_rpc_2.dart';
copied to clipboard
101
likes
160
points
3.16M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

2024.08.16 - 2025.02.28

Utilities to write a client or server using the JSON-RPC 2.0 spec.

Repository (GitHub)
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

stack_trace, stream_channel

More

Packages that depend on json_rpc_2