I want to add one key and value pair in existing json file

I want to add the key value pair like

"Signature":64237402i242840805749670 in the existing json field properties

{
"headers":{
    "JMSCorrelationID":"The JMS correlation ID",
    "JMSDeliveryMode":"The JMS delivery mode",

},
"properties":{
    "asu_timestamp":"12345678",
    "asu_type":"Ack",
}

Please tell me how can I add it into Properties by using java.

package com.sujit;

import java.io.File;
import java.io.IOException;

import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.node.ObjectNode;

public class JSONTest {
        public static void main(String[] args) throws JsonGenerationException, JsonMappingException, IOException {
            ObjectMapper mapper = new ObjectMapper();
            ObjectNode nodes = mapper.readValue(new File("D://test.json"),ObjectNode.class);
            nodes.with("properties").put("Signature", "64237402i242840805749670 ");
            mapper.writer().writeValue(new File("D://test.json"), nodes); // Overwritting the file with new updated JSON data
        }
}

Add the jar jackson-all-1.9.0 jar file into your class build path, (link http://www.java2s.com/Code/Jar/j/Downloadjacksonall190jar.htm)

Otherwise if you are using maven, add the dependency

<dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>jackson-mapper-asl</artifactId>
    <version>1.9.0</version>
</dependency>