mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

575
comptes actifs

#jsonpath

0 message0 participant0 message aujourd’hui
Stéphane Bortzmeyer<p>RFC 9535: JSONPath: Query Expressions for JSON</p><p>Le langage <a href="https://mastodon.gougere.fr/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> sert à désigner une partie d'un document <a href="https://mastodon.gougere.fr/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a>. Il est donc utile pour, par exemple, extraire des valeurs qui nous intéressent. </p><p><a href="https://mastodon.gougere.fr/tags/RFC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC</span></a> </p><p><a href="https://www.bortzmeyer.org/9535.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">bortzmeyer.org/9535.html</span><span class="invisible"></span></a></p>
Zło To<p>Just started a new project, `betterer-json`. It's like JSON Patch, except it's javascript.</p><p>You write your script match like a JSON Patch - use JSONPath to select values to process, each value is sent to a callback, and its result is put back in the JSON document.</p><p>This example changes '"format": "datetime"' to '"format": "date-time"' across json document</p><p>```<br>replace('$..format', value =&gt; {<br> if(value === 'datetime')<br> return 'date-time';<br> return value<br>})<br>```</p><p><a href="https://github.com/python-lapidary/betterer-json" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/python-lapidary/bet</span><span class="invisible">terer-json</span></a></p><p><a href="https://101010.pl/tags/typeScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>typeScript</span></a> <a href="https://101010.pl/tags/javaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javaScript</span></a> <a href="https://101010.pl/tags/JSon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSon</span></a> <a href="https://101010.pl/tags/JSonPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSonPath</span></a> <a href="https://101010.pl/tags/JSonPatch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSonPatch</span></a> <a href="https://101010.pl/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
mark sta ana<p>Also, stop memorising the vimrc setup and <a href="https://hachyderm.io/tags/kubectl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kubectl</span></a> command completion. These are now standard in the environment.</p><p>Be prepared for a horrible test environment. It's like a VNC web client connected to the Linux desktop with a terminal and Firefox. Copy and paste between the browser and local to the VM is janky. </p><p>It looks like can install extra software I was able to install gron, but I did this via apt. So anything that requires a curl shell install script may not work. I noticed that kubernetes.io search still listed community topics but did not let you click on them.</p><p>You're expected to know <a href="https://hachyderm.io/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> / <a href="https://hachyderm.io/tags/jq" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jq</span></a>. If you're mind goes blank (remember you won't be able to search StackOverflow), get the format of the output from kubectl correct and then use grep (the old ways are the best).</p><p>If you do use <a href="https://hachyderm.io/tags/Kubernetes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kubernetes</span></a> but in a managed environment (EKS, AKS, etc) you'll want to drill the labs on installing/maintaining clusters, etcd maintenance and deployments (including network policies, ingresses, etc). Same applies if you're used to an automated deployment CD environment like <a href="https://hachyderm.io/tags/ArgoCD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ArgoCD</span></a>. Remember "--dry-run=client --output yaml" is your friend.</p><p>Finally, be aware there are multiple cluster environments in the exam (questions will tell you which context to use), so if you know how to mod your PS1 prompt make sure it includes the output from "kubectl config current-context". Alternatively, create an alias 😉 </p><p>Do you have any useful tips? Share them in the replies?</p><p>Links 🔗 <br>⭐ <a href="https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">udemy.com/course/certified-kub</span><span class="invisible">ernetes-administrator-with-practice-tests/</span></a><br>⭐ <a href="https://github.com/tomnomnom/gron" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/tomnomnom/gron</span><span class="invisible"></span></a></p>
Mattias Wadman<p>Yesterday I read the recently published JSONPath RFC (RFC9535) and listening to an interview with one of the creators of SQL <a href="https://www.datacamp.com/podcast/50-years-of-sql-with-don-chamberlin" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">datacamp.com/podcast/50-years-</span><span class="invisible">of-sql-with-don-chamberlin</span></a> and worst of all i poked around in sqlite code to figure out how the scheme table works...guess I just have to accept that I'm a query language nerd.</p><p><a href="https://fosstodon.org/tags/jsonpath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonpath</span></a> <a href="https://fosstodon.org/tags/sql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sql</span></a></p>
:mastodon: Mike Amundsen<p>RFC 9535 - JSONPath: Query Expressions for JSON</p><p><a href="https://www.rfc-editor.org/info/rfc9535" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">rfc-editor.org/info/rfc9535</span><span class="invisible"></span></a></p><p>"JSONPath defines a string syntax for selecting and extracting JSON (RFC 8259) values from within a given JSON value."</p><p><a href="https://mastodon.social/tags/jsonpath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonpath</span></a> <a href="https://mastodon.social/tags/api360" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>api360</span></a> <a href="https://mastodon.social/tags/ieft" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ieft</span></a> <a href="https://mastodon.social/tags/rfc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rfc</span></a></p>
glyn<p>The IETF have kindly cross-posted a minor variation of my post to their blog: <a href="https://www.ietf.org/blog/jsonpath-rfc/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">ietf.org/blog/jsonpath-rfc/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/IETF" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IETF</span></a> <a href="https://fosstodon.org/tags/RFC9535" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC9535</span></a> <a href="https://fosstodon.org/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> <a href="https://fosstodon.org/tags/SoftwareStandards" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareStandards</span></a></p>
glyn<p>The JSONPath RFC 9535 has been published.</p><p><a href="https://www.rfc-editor.org/rfc/rfc9535.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">rfc-editor.org/rfc/rfc9535.htm</span><span class="invisible">l</span></a></p><p>That was 17 years since the original JSONPath blog post and a little over three years since a number of us started collaborating on an internet draft.</p><p>Read the full story from my perspective here: <a href="https://underlap.org/jsonpath-from-blog-post-to-rfc-in-17-years" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">underlap.org/jsonpath-from-blo</span><span class="invisible">g-post-to-rfc-in-17-years</span></a></p><p><a href="https://fosstodon.org/tags/SoftwareStandards" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareStandards</span></a> <a href="https://fosstodon.org/tags/IETF" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IETF</span></a> <a href="https://fosstodon.org/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> <a href="https://fosstodon.org/tags/RFC9535" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC9535</span></a></p>
gregsdennis<p>Calling all JsonSchema​.Net (and other json-everything) users! What .Net version are you using?</p><p>There are a lot of good reasons to update to newer versions of .Net (i.e. 6).</p><p>If doing this would break you or cause you pain, I want to hear about it.</p><p><a href="https://github.com/gregsdennis/json-everything/issues/390" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/gregsdennis/json-ev</span><span class="invisible">erything/issues/390</span></a></p><p><a href="https://dotnet.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonschema</span></a> <a href="https://dotnet.social/tags/jsonpath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonpath</span></a> <a href="https://dotnet.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a></p>
Mark Gardner<p><a href="https://social.sdf.org/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> has supported pluggable replacements for its <a href="https://social.sdf.org/tags/RegularExpression" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegularExpression</span></a> engine since the release of v5.10 in 2007: <a href="https://perldoc.perl.org/perlreapi" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">perldoc.perl.org/perlreapi</span><span class="invisible"></span></a></p><p>An <span class="h-card"><a href="https://mastodon.online/@ietf" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ietf</span></a></span> compliant I-<a href="https://social.sdf.org/tags/Regexp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Regexp</span></a> subset would be very helpful for <span class="h-card"><a href="https://chirp.social/@Perl" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Perl</span></a></span> <a href="https://social.sdf.org/tags/developers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>developers</span></a> implementing specifications like the draft <a href="https://social.sdf.org/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> standard: <a href="https://datatracker.ietf.org/doc/draft-ietf-jsonpath-base/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">datatracker.ietf.org/doc/draft</span><span class="invisible">-ietf-jsonpath-base/</span></a></p><p>(There is already a JSONPath <a href="https://social.sdf.org/tags/CPAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CPAN</span></a> module: <a href="https://metacpan.org/pod/JSON::Path" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">metacpan.org/pod/JSON::Path</span><span class="invisible"></span></a>) <a href="https://cosocial.ca/@timbray/110714888717469041" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cosocial.ca/@timbray/110714888</span><span class="invisible">717469041</span></a></p>
David Wheeler<p>Video's up for the talk I gave PGCon a couple weeks ago:</p><p>CiperhDoc: A Pattern for a Searchable, Encrypted JSON Document Service</p><p>I'm pretty happy with the design for this service and how it came together.</p><p><a href="https://www.youtube.com/watch?v=SUyHnjpr-0Q" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=SUyHnjpr-0</span><span class="invisible">Q</span></a></p><p><a href="https://xoxo.zone/tags/Encryption" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Encryption</span></a> <a href="https://xoxo.zone/tags/Privacy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Privacy</span></a> <a href="https://xoxo.zone/tags/personalData" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>personalData</span></a> <a href="https://xoxo.zone/tags/PGCon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PGCon</span></a> <a href="https://xoxo.zone/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://xoxo.zone/tags/JSONPath" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONPath</span></a> <a href="https://xoxo.zone/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSONSchema</span></a> <a href="https://xoxo.zone/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PostgreSQL</span></a> <a href="https://xoxo.zone/tags/Go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Go</span></a></p>