408 commandes partagées

Ta mémoire technique
collaborative

Ne perds plus jamais une commande. Recherche, copie et partage tes solutions techniques en quelques secondes.

CodeBox
408 Commandes
13 Développeurs
99 Technologies

6 résultat(s) pour "json"

Affiche l'inventaire complet en JSON (hôtes et variables).

bash
ansible-inventory --list

Invoque une fonction Lambda avec un payload JSON.

bash
aws lambda invoke --function-name ma-fonction --payload '{"key":"value"}' response.json

Build et génère un fichier stats.json pour analyser le bundle.

bash
ng build --stats-json

Analyse la taille du bundle avec webpack-bundle-analyzer.

bash
npm install -g webpack-bundle-analyzer && ng build --stats-json && npx webpack-bundle-analyzer dist/nom-projet/stats.json

Génère le code automatique (json_serializable, freezed, etc.).

bash
dart run build_runner build

Ajoute Freezed pour les classes immutables et la sérialisation JSON.

bash
flutter pub add freezed_annotation json_annotation && flutter pub add --dev freezed json_serializable build_runner