<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[תוסף להצגת JSON בדף HTML עם סידור אוטומטי]]></title><description><![CDATA[<p dir="auto">אחד הדברים היפים שיש ברוב הIDE, זה הקיצור דרך שמסדר (אני לא זוכר איך אומרים את זה בעברית) את הקוד, עם טאבים בתוך הIFים והפונקציות.<br />
בJSON זה בכלל משנה את החיים. במקום לשבור את הראש לאן הערך שייך, זה מציג בצורה יפה ומסודרת את ההיררכיה של הJSON.<br />
אני רוצה להטמיע קובץ JSON מסובך באתר שלי, ושיהיה אפשר לערוך אותו.<br />
יש כל מיני ספריות להצגת ועריכת קוד עם צבעים והשלמה אוטומטית, אבל לא מצאתי אחד עם סידור אוטומטי, שיהיה קיצור דרך או אפילו כפתור (או יותר טוב שבכלל יאלץ לכתוב בצורה מסודרת).<br />
מכירים כזה דבר?<br />
תודה.</p>
<p dir="auto">למי שלא הבין מה הכוונה סידור אוטומטי... <img src="/assets/uploads/files/1603007434822-5a1d7e99-fbf3-424a-b5c8-fe5ad9f5f44c-image.png" alt="5a1d7e99-fbf3-424a-b5c8-fe5ad9f5f44c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://tchumim.com/topic/9937/תוסף-להצגת-json-בדף-html-עם-סידור-אוטומטי</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 18:20:27 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/9937.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2020 07:50:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Wed, 21 Oct 2020 17:21:45 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://tchumim.com/topic/9768">https://tchumim.com/topic/9768</a><br />
<a href="https://tchumim.com/topic/6611">https://tchumim.com/topic/6611</a></p>
]]></description><link>https://tchumim.com/post/112067</link><guid isPermaLink="true">https://tchumim.com/post/112067</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Wed, 21 Oct 2020 17:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Wed, 21 Oct 2020 17:07:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dovid">@<bdi>dovid</bdi></a> תודה אבל אין אפשרות עריכה. זה רק בתגית PRE.<br />
אני מחפש לTEXTAREA</p>
]]></description><link>https://tchumim.com/post/112066</link><guid isPermaLink="true">https://tchumim.com/post/112066</guid><dc:creator><![CDATA[שואף]]></dc:creator><pubDate>Wed, 21 Oct 2020 17:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Wed, 21 Oct 2020 17:01:50 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://highlightjs.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://highlightjs.org/</a></p>
]]></description><link>https://tchumim.com/post/112064</link><guid isPermaLink="true">https://tchumim.com/post/112064</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Wed, 21 Oct 2020 17:01:50 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Wed, 21 Oct 2020 16:15:13 GMT]]></title><description><![CDATA[<p dir="auto">יש המלצה על ספרייה של הצגת קוד (מתאים לJSON) להטמיע בHTML ?<br />
תודה</p>
]]></description><link>https://tchumim.com/post/112061</link><guid isPermaLink="true">https://tchumim.com/post/112061</guid><dc:creator><![CDATA[שואף]]></dc:creator><pubDate>Wed, 21 Oct 2020 16:15:13 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Mon, 19 Oct 2020 18:14:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz">@<bdi>yossiz</bdi></a><br />
בדיוק לפני שעה, כשהתחלתי להטמיע את הקוד, חשבתי לעשות בצורה קצת שונה, לשלוח לשרת PHP ולעשות על זה PRETTYPRINT ולהציג שוב.<br />
התשובה שלך עוד יותר טובה, ופשוטה.<br />
תודה רבה, לא חשבתי על זה</p>
]]></description><link>https://tchumim.com/post/111909</link><guid isPermaLink="true">https://tchumim.com/post/111909</guid><dc:creator><![CDATA[שואף]]></dc:creator><pubDate>Mon, 19 Oct 2020 18:14:22 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Mon, 19 Oct 2020 18:13:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz">@<bdi>yossiz</bdi></a> חזק ביותר... לא שמתי לב לעובדה שמדובר בJSON...</p>
]]></description><link>https://tchumim.com/post/111907</link><guid isPermaLink="true">https://tchumim.com/post/111907</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Mon, 19 Oct 2020 18:13:14 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Mon, 19 Oct 2020 17:32:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A9%D7%95%D7%90%D7%A3">@<bdi>שואף</bdi></a> למה לא לעשות ככה:</p>
<pre><code>JSON.stringify(JSON.parse(theJson), null, 2);
</code></pre>
]]></description><link>https://tchumim.com/post/111904</link><guid isPermaLink="true">https://tchumim.com/post/111904</guid><dc:creator><![CDATA[yossiz]]></dc:creator><pubDate>Mon, 19 Oct 2020 17:32:26 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Mon, 19 Oct 2020 15:48:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dovid">@<bdi>dovid</bdi></a> אמר ב<a href="/post/111829">תוסף להצגת JSON בדף HTML עם סידור אוטומטי</a>:</p>
<blockquote>
<p dir="auto"><a href="https://github.com/zebzhao/indent.js" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/zebzhao/indent.js</a></p>
</blockquote>
<p dir="auto">נראה מדהים, אבל לא מופיע איך משתמשים בזה לJSON.<br />
אמשיך לחפור שם, רק רציתי כבר להגיד תודה <img src="https://tchumim.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=9d71ebe86e6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://tchumim.com/post/111901</link><guid isPermaLink="true">https://tchumim.com/post/111901</guid><dc:creator><![CDATA[שואף]]></dc:creator><pubDate>Mon, 19 Oct 2020 15:48:10 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Sun, 18 Oct 2020 12:46:31 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/zebzhao/indent.js" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/zebzhao/indent.js</a></p>
]]></description><link>https://tchumim.com/post/111829</link><guid isPermaLink="true">https://tchumim.com/post/111829</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Sun, 18 Oct 2020 12:46:31 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Sun, 18 Oct 2020 08:28:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir">@<bdi>OdedDvir</bdi></a> אמר ב<a href="/post/111810">תוסף להצגת JSON בדף HTML עם סידור אוטומטי</a>:</p>
<blockquote>
<p dir="auto">לדעתי זה נקרא Prettify Json או Json Beautifier</p>
</blockquote>
<p dir="auto">גם נכון..</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A9%D7%95%D7%90%D7%A3">@<bdi>שואף</bdi></a> אני (הקטן) חושב שזה קצת מסובך לכווין בכזה מצב, כי כל דבר שתעשה לכאורה יהיה תלוי בכלים האחרים שאתה משתמש.<br />
אני אסביר -<br />
אם הבנתי נכון אתה רוצה ליצור מין "עורך קוד" לייב באתר, שיערוך גייסון. הבעיה כאן היא שבעורך הזה - האלמנטים שם אינם באמת גייסון. אלא סתם טקסט עם קלאס כזה או אחר, כך שמפרמטי גייסון רגילים לא יכולים לכאורה לפענח את זה ולסדר.<br />
אז הכל תלוי באיזה עורך קוד אתה בוחר.<br />
ואם יש לו תמיכה בגייסון.</p>
<p dir="auto">תסתכל אם יש לך כוח לפרק את הכלי הזה ולהכניס אותו לאתר שלך וזהו (זה מה שאני הייתי עושה): <a href="https://github.com/josdejong/jsoneditor" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/josdejong/jsoneditor</a></p>
]]></description><link>https://tchumim.com/post/111813</link><guid isPermaLink="true">https://tchumim.com/post/111813</guid><dc:creator><![CDATA[chv]]></dc:creator><pubDate>Sun, 18 Oct 2020 08:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Sun, 18 Oct 2020 08:14:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A9%D7%95%D7%90%D7%A3">@<bdi>שואף</bdi></a> לדעתי זה נקרא Prettify Json או Json Beautifier. אגב בפיירפוקס זה מציג כך בלי שום תוסף.</p>
]]></description><link>https://tchumim.com/post/111810</link><guid isPermaLink="true">https://tchumim.com/post/111810</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Sun, 18 Oct 2020 08:14:56 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Sun, 18 Oct 2020 08:09:57 GMT]]></title><description><![CDATA[<p dir="auto">יגעתי ולא מצאתי<br />
<a href="https://www.google.com/search?q=edit+code+in+html+page+with+format" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.google.com/search?q=edit+code+in+html+page+with+format</a></p>
]]></description><link>https://tchumim.com/post/111809</link><guid isPermaLink="true">https://tchumim.com/post/111809</guid><dc:creator><![CDATA[שואף]]></dc:creator><pubDate>Sun, 18 Oct 2020 08:09:57 GMT</pubDate></item><item><title><![CDATA[Reply to תוסף להצגת JSON בדף HTML עם סידור אוטומטי on Sun, 18 Oct 2020 08:04:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A9%D7%95%D7%90%D7%A3">@<bdi>שואף</bdi></a> זה נקרא format<br />
תחפש בכיוון הזה</p>
]]></description><link>https://tchumim.com/post/111808</link><guid isPermaLink="true">https://tchumim.com/post/111808</guid><dc:creator><![CDATA[chv]]></dc:creator><pubDate>Sun, 18 Oct 2020 08:04:11 GMT</pubDate></item></channel></rss>