diff --git a/affiliations-rnsr/README.md b/affiliations-rnsr/README.md index 37c07a9..4cbaea4 100644 --- a/affiliations-rnsr/README.md +++ b/affiliations-rnsr/README.md @@ -61,3 +61,36 @@ 2015;University of Bordeaux, IMS, CNRS UMR5218, Talence, F-33405, France;200711887V 2015;CENBG, CNRS/IN2P3, Chemin du Solarium B. P. 120, Gradignan, F-33175, France;199512079F ``` + +## v1/json + +Prend un fichier JSON, avec des champs nommés `id` (pour l'identifiant) et +`value` (pour l'adresse), et renvoie un JSON avec le ou les identifiant RNSR +dans le champ `value`. + +> *Remarque : Quand aucun identifiant n'est trouvé, un tableau vide est +> renvoyé.* + +### Exemple JSON + +```bash +cat < [{affiliations:[{address:s[0].affiliations[0].address+c}]}], [{affiliations:[{address:""}]}]) + +[affAlign] + +[replace] +path = id +value = get("id") + +path = value +value = get("authors.0.affiliations.0.conditorRnsr") + +[JSONString] +indent = env('indent', false)