.post and json

.post and json

So i have a div where inside there is a <ul><li>item1</li><li>item2</li></ul>

and when i click on each item1, item2 i send via .post into a file each <li> text as json

    $(".ul_container_div").find("li").click(function (){
        var a = $(this).text();
        $.post("ajax.php",
        {
            test:a
        }
        ,function(data){
            console.log(data);
        }
        ,"json");
    });










what i get on firebug is:
when i click on item1 and on ajax.php i have


$test["test"] = $_REQUEST["test"];
echo json_encode($test);

i have been working with .post , .get , .ajax but not with JSON , so is this a good start to start with? if not what can i improve?

thanks!