crimson 0.3.1 copy "crimson: ^0.3.1" to clipboard
crimson: ^0.3.1 copied to clipboard

Fast, efficient and easy-to-use JSON parser and serializer for Dart.

example/main.dart

// ignore_for_file: avoid_print

import 'dart:convert';

import 'package:crimson/crimson.dart';

void main() {
  const json = '{"name": "John", "age": 42, "tags": ["a", "b"]}';
  final jsonBytes = utf8.encode(json);
  final crimson = Crimson(jsonBytes);
  final map = crimson.read() as Map<String, dynamic>;
  print(map);
}
117
likes
150
points
3.42k
downloads

Publisher

verified publishersimc.dev

Weekly Downloads

Fast, efficient and easy-to-use JSON parser and serializer for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, source_gen

More

Packages that depend on crimson