WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
How to modify the JSON output (2 posts)

  1. Marcos Curvello
    Member
    Posted 2 months ago #

    I'm having a hard time customizing this plugin, for example this section:

    3.1. Output-modifying arguments.

    I want change these settings and see which will work best for me , but I don't know where to insert these lines:

    json_unescaped_unicode
    json_encode

    Help me out please, can anyone point me to in the right direction here ?

    Thanks in Advance

    https://wordpress.org/plugins/json-api/

  2. Marcos Curvello
    Member
    Posted 2 months ago #

    Nevermind I figured it out, in case your wondering how, you can pass the "json_unescaped_unicode" in the url like this:

    http://www.exemple.com/?json=1&json_unescaped_unicode=1

    But still I am facing my problem, I am experiencing weird characters in my JSON output, characters such as:

    ” ‘ ’

    Can anyone hint me what is causing these weird output formats ?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags