[wp-hackers] Review GSoC application, import/export plugin to JSON

Andrew Nacin wp at andrewnacin.com
Fri May 3 05:58:27 UTC 2013


Hi Panks,

Rather than manually constructing the JSON — which can easily result in
malformed JSON or worse — what about creating PHP arrays and then using
http://php.net/json_encode()?

If doing it manually is a deliberate choice to keep whitespace and make it
readable, I imagine there are some options there as well.

Nacin


On Thu, May 2, 2013 at 11:50 AM, Panks <pankajxdx at gmail.com> wrote:

> Hello everyone,
>
> I have put up an application for GSoC for Converting import/export feature
> in WordPress to use JSON instead of XML. I have already changed the code
> for export.php to dump JSON instead of XML I have given the details in
> proposal.
>
> Here is the link on my blog: http://panks.me/gsoc
> and Here is link on google-melange website:
>
> https://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/panks42/54001
>
> Please leave your valuable feedbacks.
>
> Thank you :)
>
> --
>
> Pankaj
> UG Student | Dept. of Computer Science and Engineering
> IIT Madras, Chennai, India
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list