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);
}
114
likes
150
pub points
67%
popularity

Publisher

verified publishersimc.dev

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