I need a tool that generates random JSON objects. I want to use this tool to test my HTTP POST requests and use a random JSON object in it.
Any suggestions?
I would recommend just building a script in PHP ... its very easy to convert arrays to json, so you could just make a randomized array and do: echo json_encode($array);
echo json_encode($array);
Check out this service: http://json-generator.appspot.com/ It supports several functions:
original post http://habrahabr.ru/blogs/javascript/132286/
, mockJSON, json- appspot, open .
, .
Python, , https://github.com/JamesMcMahon/mockjson.py.
: Json Generator. .
I made a tool based on mockJSON that allows you to POSTrequest template JSON instead of using a local plugin, you can check here .
POST