<tfoot id='BAr0I'></tfoot>
          <bdo id='BAr0I'></bdo><ul id='BAr0I'></ul>
      1. <legend id='BAr0I'><style id='BAr0I'><dir id='BAr0I'><q id='BAr0I'></q></dir></style></legend>
        <i id='BAr0I'><tr id='BAr0I'><dt id='BAr0I'><q id='BAr0I'><span id='BAr0I'><b id='BAr0I'><form id='BAr0I'><ins id='BAr0I'></ins><ul id='BAr0I'></ul><sub id='BAr0I'></sub></form><legend id='BAr0I'></legend><bdo id='BAr0I'><pre id='BAr0I'><center id='BAr0I'></center></pre></bdo></b><th id='BAr0I'></th></span></q></dt></tr></i><div id='BAr0I'><tfoot id='BAr0I'></tfoot><dl id='BAr0I'><fieldset id='BAr0I'></fieldset></dl></div>
      2. <small id='BAr0I'></small><noframes id='BAr0I'>

        JSON序列化时如何使用JavaScriptSerializer设置格式?

        How to set formatting with JavaScriptSerializer when JSON serializing?(JSON序列化时如何使用JavaScriptSerializer设置格式?)

        <small id='AfMnI'></small><noframes id='AfMnI'>

          <tbody id='AfMnI'></tbody>

            <tfoot id='AfMnI'></tfoot>
          1. <legend id='AfMnI'><style id='AfMnI'><dir id='AfMnI'><q id='AfMnI'></q></dir></style></legend>
            • <i id='AfMnI'><tr id='AfMnI'><dt id='AfMnI'><q id='AfMnI'><span id='AfMnI'><b id='AfMnI'><form id='AfMnI'><ins id='AfMnI'></ins><ul id='AfMnI'></ul><sub id='AfMnI'></sub></form><legend id='AfMnI'></legend><bdo id='AfMnI'><pre id='AfMnI'><center id='AfMnI'></center></pre></bdo></b><th id='AfMnI'></th></span></q></dt></tr></i><div id='AfMnI'><tfoot id='AfMnI'></tfoot><dl id='AfMnI'><fieldset id='AfMnI'></fieldset></dl></div>

                • <bdo id='AfMnI'></bdo><ul id='AfMnI'></ul>
                • 本文介绍了JSON序列化时如何使用JavaScriptSerializer设置格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在使用 JavaScriptSerializer 将对象序列化为 JSON 格式的文件.但是结果文件没有可读的格式.如何允许格式化以获得可读文件?

                  I am using JavaScriptSerializer for serializing objects to the file to the JSON format. But the result file has no readable formatting. How can I allow formating to get a readable file?

                  推荐答案

                  好像没有内置工具来格式化 JSON-serializer 的输出.
                  我想发生这种情况的原因是减少了我们通过网络发送的数据.

                  It seemed to be that there is no built-in tool for formatting JSON-serializer's output.
                  I suppose the reason why this happened is minimizing of data that we send via network.

                  您确定在代码中需要格式化数据吗?或者您只想在调试期间分析 JSON?

                  Are you sure that you need formatted data in code? Or you want to analize JSON just during debugging?

                  提供此类功能的在线服务有很多:1、2.或独立应用程序:JSON 查看器.

                  There is a lot of online services that provide such functionality: 1, 2. Or standalone application: JSON viewer.

                  但如果您需要在应用程序内部进行格式化,您可以编写 适当的代码 自己.

                  But if you need formatting inside application, you can write appropriate code by yourself.

                  这篇关于JSON序列化时如何使用JavaScriptSerializer设置格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Force JsonConvert.SerializeXmlNode to serialize node value as an Integer or a Boolean(强制 JsonConvert.SerializeXmlNode 将节点值序列化为整数或布尔值)
                  Using JSON to Serialize/Deserialize TimeSpan(使用 JSON 序列化/反序列化 TimeSpan)
                  Could not determine JSON object type for type quot;Classquot;(无法确定类型“Class的 JSON 对象类型.)
                  How to deserialize a JSONP response (preferably with JsonTextReader and not a string)?(如何反序列化 JSONP 响应(最好使用 JsonTextReader 而不是字符串)?)
                  how to de-serialize JSON data in which Timestamp it-self contains fields?(如何反序列化时间戳本身包含字段的JSON数据?)
                  JSON.Net custom contract serialization and Collections(JSON.Net 自定义合约序列化和集合)
                  <i id='zenBv'><tr id='zenBv'><dt id='zenBv'><q id='zenBv'><span id='zenBv'><b id='zenBv'><form id='zenBv'><ins id='zenBv'></ins><ul id='zenBv'></ul><sub id='zenBv'></sub></form><legend id='zenBv'></legend><bdo id='zenBv'><pre id='zenBv'><center id='zenBv'></center></pre></bdo></b><th id='zenBv'></th></span></q></dt></tr></i><div id='zenBv'><tfoot id='zenBv'></tfoot><dl id='zenBv'><fieldset id='zenBv'></fieldset></dl></div>

                    • <bdo id='zenBv'></bdo><ul id='zenBv'></ul>

                      <legend id='zenBv'><style id='zenBv'><dir id='zenBv'><q id='zenBv'></q></dir></style></legend>
                        <tbody id='zenBv'></tbody>

                      <small id='zenBv'></small><noframes id='zenBv'>

                          • <tfoot id='zenBv'></tfoot>