crimson 0.4.0+1 copy "crimson: ^0.4.0+1" to clipboard
crimson: ^0.4.0+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);
}
copied to clipboard
120
likes
140
points
121
downloads

Publisher

verified publishersimc.dev

Weekly Downloads

2024.09.17 - 2025.04.01

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

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, source_gen

More

Packages that depend on crimson