veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

295
active users

#json

14 posts14 participants0 posts today
Mark T. Tomczak<p>Using Jenkins deeply has reminded me that one of the pros of the original REST API intent was "You don't have to write your HTML handling logic twice." As in: if you use honest-to-God <em>forms,</em> and those forms access your app via your own REST API, you aren't writing one handler for form inputs and one for API calls (which had been the style at the time when REST hit the scene).</p><p>Nowadays, it's pretty much all JSON under the hood (i.e. barely anyone uses raw forms anymore; if you have a form on a page, it's bundling its fields into JSON and making an XmlHttpRequest), so this benefit is overlooked.</p><p><a href="https://mastodon.fixermark.com/tags/jenkins" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jenkins</span></a> <a href="https://mastodon.fixermark.com/tags/rest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rest</span></a> <a href="https://mastodon.fixermark.com/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a></p>
buchatech :ve:<p>@pluralsight published another one of my <a href="https://techhub.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> articles: "What is <a href="https://techhub.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a>, and how to use it in JavaScript".</p><p>It covers JSON syntax, converting data, &amp; working with APIs in JS. </p><p>Check it out here:</p><p><a href="https://www.pluralsight.com/resources/blog/software-development/how-use-json-javascript" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">pluralsight.com/resources/blog</span><span class="invisible">/software-development/how-use-json-javascript</span></a></p><p><a href="https://techhub.social/tags/Dev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dev</span></a> <a href="https://techhub.social/tags/Code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Code</span></a> <a href="https://techhub.social/tags/Pluralsight" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pluralsight</span></a> <a href="https://techhub.social/tags/CodingTips" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CodingTips</span></a> <a href="https://techhub.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a></p>
Sapere Aude<p>Hat hier schon wer Erfahrung mit dem persönlichen Mastodon-<a href="https://swiss.social/tags/Archiv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Archiv</span></a>?</p><p>Ich konnte bisher keinen Reader finden, der mir das <a href="https://swiss.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a>-Format lesbar macht oder auf eine andere Instanz importieren kann.</p><p><a href="https://swiss.social/tags/retoot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>retoot</span></a> wäre saunett. :))</p>
Constantin Milos<p>An open protocol enabling communication and interoperability between opaque agentic applications. <a href="https://mastodon.social/tags/MCP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MCP</span></a> ,<a href="https://mastodon.social/tags/A2A" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>A2A</span></a>, <a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AI</span></a> , <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a>,<a href="https://mastodon.social/tags/Google" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Google</span></a> <br><a href="https://github.com/google/A2A" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/google/A2A</span><span class="invisible"></span></a></p>
Michael Simons<p>Today is rest day, in all dimensions.</p><p>So why not computing the administrative areas around the world I've visited while running and cycling with <span class="h-card" translate="no"><a href="https://mastodon.social/@duckdb" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>duckdb</span></a></span> <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQL</span></a> and a bit of <a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> </p><p><a href="https://github.com/michael-simons/biking3/blob/main/bin/collect_administrative_areas.java#L210" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/michael-simons/biki</span><span class="invisible">ng3/blob/main/bin/collect_administrative_areas.java#L210</span></a></p><p>Doing all the <a href="https://mastodon.social/tags/spatial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spatial</span></a> stuff directly from within the db, working on temp tables. </p><p>Eventually getting a deeply nested <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> structure out of it:</p><p><a href="https://github.com/michael-simons/biking3/blob/25fd2c462954395f84ca3ec5fd4f81851746caa0/schema/api.sql#L632-L673" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/michael-simons/biki</span><span class="invisible">ng3/blob/25fd2c462954395f84ca3ec5fd4f81851746caa0/schema/api.sql#L632-L673</span></a></p><p>Thanks <span class="h-card" translate="no"><a href="https://mastodon.social/@lukaseder" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>lukaseder</span></a></span> for inspiration, <span class="h-card" translate="no"><a href="https://discuss.systems/@hannes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>hannes</span></a></span> for that piece of tech :)</p>
rdm<p>In less than 18 hours, including a solid 12 hours (at least) of downtime, I have gone from concept to 90% functional prototype of a creative rPi project, thanks to aus.social allowing quick and easy downloads, jq, an obscure CUPS driver project, and an intimate knowledge of scripting.</p><p>Feeling very accomplished.</p><p><a href="https://aus.social/tags/BashScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BashScript</span></a> <a href="https://aus.social/tags/raspberrypi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>raspberrypi</span></a> <a href="https://aus.social/tags/hacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hacking</span></a> <a href="https://aus.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> <a href="https://aus.social/tags/scripting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scripting</span></a> <a href="https://aus.social/tags/art" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>art</span></a> <a href="https://aus.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a></p>
J. R. DePriest :verified_trans: :donor: :Moopsy: :EA DATA. SF:<p><span class="h-card" translate="no"><a href="https://infosec.exchange/@Sidneys1" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Sidneys1</span></a></span> Using that page I've been able to build a fancy test query. I am using the NVD API since it doesn't require authentication and the data that comes back is complicated enough to give me lots to try.<br>I've built this up over the last few days. I am querying NVD for all CVEs that are in the CISA KEVC then pulling out just the ones that apply to Windows Server 2008, 2012, 2016, and 2019. I could have just done different NVD searches but this was an exercise for how to parse JSON with <code>jq</code><br>A week ago, <code>jq '.'</code> was about all I knew how to do.<br>Now I have created this.</p><pre><code>curl https://services.nvd.nist.gov/rest/json/cves/2.0?hasKev | jq '. | .vulnerabilities | map(<br> if isempty(<br> .cve.configurations | map(<br> .nodes | map(<br> .cpeMatch | map(<br> if (<br> .criteria | test(<br> "windows_server_20(08)|(1[269])"<br> )<br> )<br> then .<br> else empty<br> end<br> )<br> )<br> )<br> )<br> then empty<br> else .<br> end<br>)'<br></code></pre><p>Which seems to do what I want it to do.<br>I was deleting some fields at one point just to see if I knew how to do it, but I took that part out.<br>I found <code>type</code> and <code>keys</code> to be indispensable for figuring out what each new layer was offering me to work with.</p><p>That manual page <a href="https://jqlang.org/manual" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jqlang.org/manual</span><span class="invisible"></span></a> is fantastic. I also found out that it is designed to work just as well on a computer screen as a mobile device screen. I was able to keep reading through it with no loss in usability when I only had my phone handy.</p><p>If any <code>jq</code> devs or anybody responsible for that website is on the Fediverse, let them know how much I appreciate the work that was put into creating the tool and documenting how to use it.</p><p><a href="https://infosec.exchange/tags/jq" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jq</span></a> <a href="https://infosec.exchange/tags/JQ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JQ</span></a> <a href="https://infosec.exchange/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://infosec.exchange/tags/ParsingJSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ParsingJSON</span></a> <a href="https://infosec.exchange/tags/Parsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Parsing</span></a> <a href="https://infosec.exchange/tags/DataParsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataParsing</span></a></p>
J. R. DePriest :verified_trans: :donor: :Moopsy: :EA DATA. SF:<p>I need to learn <code>jq</code>.<br>I'm used to parsing JSON with PowerShell which is logical and easy to use. I even install PowerShell Core on my Linux systems so I don't have to learn to use <code>jq</code>.<br>But now I have to learn to do it with <code>jq</code> because that's all that's available for this particular linux-ish automation platform.<br>I can't seem to find a good, physical book to buy for it.<br>I was really hoping O'Reilly had a pocket guide like <a href="https://www.librarything.com/work/4134819/t/sed-awk-Pocket-Reference" rel="nofollow noopener noreferrer" target="_blank">sed &amp; awk Pocket Reference</a> but for <code>jq</code> but it doesn't look like it.</p><p>What physical books would you recommend? </p><p><a href="https://infosec.exchange/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://infosec.exchange/tags/JQ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JQ</span></a> <a href="https://infosec.exchange/tags/jq" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jq</span></a> <a href="https://infosec.exchange/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://infosec.exchange/tags/LearningLinux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LearningLinux</span></a></p>
Gerard Braad<p>Handy commands that return <a href="https://mastodon.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> ?</p><p># Git<br>git log --pretty=format:'{%n "commit": "%H",%n "author": "%an",%n "date": "%ad",%n "message": "%s"%n},'</p><p># Networking<br>ip -j addr show # Show IP addresses in JSON format<br>ip -j link show # Show network links in JSON format<br>ip -j route show # Show routing table in JSON format</p><p>...</p><p><a href="https://mastodon.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.social/tags/jq" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jq</span></a></p>
TeX Users Group<p>From <a href="https://techhub.social/tags/CTAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CTAN</span></a>:</p><p>Jasper Habicht submitted an update to the jsonparse package.</p><p>Version: 1.4.0 2025-04-10<br>License: lppl1.3c</p><p>Summary description: Parse, store and access JSON data in LaTeX documents</p><p><a href="https://ctan.org/pkg/jsonparse" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ctan.org/pkg/jsonparse</span><span class="invisible"></span></a></p><p><a href="https://techhub.social/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeXLaTeX</span></a> <a href="https://techhub.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a></p>
troz<p>If you’re trying to test JSON decoding in a Swift Playground, it crashes the playground’s LLDB RPC server in Xcode 16.3 every time. Works fine in Xcode 16.2 I wasted a lot of time yesterday on this, but now I’m installing 16.2</p><p>Forum post and feedback links here: <a href="https://developer.apple.com/forums/thread/778850" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/forums/thr</span><span class="invisible">ead/778850</span></a></p><p><a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftLang</span></a> <a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xcode</span></a> <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://mastodon.social/tags/SwiftPlayground" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftPlayground</span></a></p>
Penpot<p>Penpot Design Tokens Highlights</p><p><a href="https://peertube.kaleidos.net/videos/watch/0cd65dc5-ec3f-492e-853f-35fb5cd8495c" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">peertube.kaleidos.net/videos/w</span><span class="invisible">atch/0cd65dc5-ec3f-492e-853f-35fb5cd8495c</span></a></p>
Penpot<p>What's new | Penpot release 2.6 - DESIGN TOKENS!</p><p><a href="https://peertube.kaleidos.net/videos/watch/6ebd7d54-9525-454c-90b8-7e961b3d24c2" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">peertube.kaleidos.net/videos/w</span><span class="invisible">atch/6ebd7d54-9525-454c-90b8-7e961b3d24c2</span></a></p>
David Wheeler<p>How should <a href="https://xoxo.zone/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> property keys be formatted?</p>
shevabam<p>A relire : JSON-Splora, un outil pour explorer et manipuler du JSON</p><p><a href="https://blog.shevarezo.fr/post/2016/12/26/json-splora-outil-explorer-filtrer-json" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.shevarezo.fr/post/2016/12</span><span class="invisible">/26/json-splora-outil-explorer-filtrer-json</span></a> </p><p><a href="https://mastodon.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> @wellsthoughts</p>
ttldtor aka m4n71k0r<p><a href="https://mastodon.social/tags/ini" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ini</span></a> <a href="https://mastodon.social/tags/conf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>conf</span></a> <a href="https://mastodon.social/tags/toml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>toml</span></a> <a href="https://mastodon.social/tags/hocon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hocon</span></a> <a href="https://mastodon.social/tags/properties" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>properties</span></a> <a href="https://mastodon.social/tags/xml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xml</span></a> <a href="https://mastodon.social/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a><br>What is the best human-readable configuration file format?</p>
Vladimir Savić<p>Why does <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> have commas? <a href="https://simonsafar.com/2025/json_with_no_commas/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">simonsafar.com/2025/json_with_</span><span class="invisible">no_commas/</span></a> <a href="https://mastodon.social/tags/opinionated" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opinionated</span></a></p>
GripNews<p>🌘 為什麼 JSON 要使用逗號?<br>➤ 重新思考 JSON 的設計:逗號真的是必需的嗎?<br>✤ <a href="https://simonsafar.com/2025/json_with_no_commas/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">simonsafar.com/2025/json_with_</span><span class="invisible">no_commas/</span></a><br>這篇文章探討了 JSON 格式設計上為何需要逗號的問題。作者認為逗號在 JSON 中並非必要的設計,反而增加了錯誤的可能性,且不提供明顯益處。作者提出刪除 JSON 中的逗號,並參考了 JSON5 的修改方向,但認為 JSON5 的改進幅度不足。<br>+ 我一直覺得 JSON 的逗號很惱人,容易在編寫時出錯,這篇文章點出了我一直以來的痛點!<br>+ JSON5 的設計確實改善了部分問題,但作者說得對,如果能完全移除逗號,會更加簡潔易用。<br><a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> <a href="https://mastodon.social/tags/%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>程式設計</span></a> <a href="https://mastodon.social/tags/%E8%B3%87%E6%96%99%E6%A0%BC%E5%BC%8F" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>資料格式</span></a></p>
HoldMyType<p><a href="https://mathstodon.xyz/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> is popular as <a href="https://mathstodon.xyz/tags/resume" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>resume</span></a> = data</p>
N-gated Hacker News<p>Move over, QMK—there’s a new <a href="https://mastodon.social/tags/firmware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>firmware</span></a> sheriff in town, and it's written in Rust! 🦀 Because nothing screams cutting-edge <a href="https://mastodon.social/tags/technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>technology</span></a> like replacing a mature, well-documented system with something named after a crab. 😂🔧 Who wouldn't want to dive into the thrilling world of <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> and firmware <a href="https://mastodon.social/tags/debugging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>debugging</span></a> just for the sake of a logo match? <br><a href="https://gabevenberg.com/posts/rmk-ferris-sweep/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gabevenberg.com/posts/rmk-ferr</span><span class="invisible">is-sweep/</span></a> <a href="https://mastodon.social/tags/QMK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QMK</span></a> <a href="https://mastodon.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ngated</span></a></p>