【问题标题】:Google Cloud Endpoints: Turn off pretty printing JSON from the server?Google Cloud Endpoints:关闭来自服务器的漂亮打印 JSON?
【发布时间】:2017-06-11 05:45:24
【问题描述】:

我们正在使用带有 Android/Java 客户端库的 Google Cloud Endpoints REST API。默认情况下,所有响应都是“漂亮打印”的 JSON。我们可以添加查询参数“prettyPrint=false”来关闭它,但是我们在服务器上找不到默认全局关闭它的方法,这真的很烦人。

有没有办法通过云端点服务器端关闭漂亮的打印?

【问题讨论】:

    标签: json google-app-engine google-cloud-endpoints


    【解决方案1】:

    不,但您可以file a feature request。对于 Python,它将是 here

    【讨论】:

    • 感谢您确认这是不可能的。我会提出申请。
    猜你喜欢
    • 2013-07-11
    • 2014-05-19
    • 1970-01-01
    • 1970-01-01
    • 2021-01-31
    • 2014-05-12
    • 1970-01-01
    • 2013-11-19
    相关资源
    最近更新 更多