如何编程创建3D PDF文件?

有谁做过创建3D PDF的相关工作?使用什么样的库,商业的或者开源的?

把两个拼装好的JSON串合并成一个新的JSON,两个JSON相同的key值情况下只保存一个,后放入的JSON串对应key的Value值会覆盖先放入的。
同理可以实现多个JSON串合并。

import net.sf.json.JSONObject;  

public class JSONCombine  
{  
    public static void main(String[] args)  
    {  
        JSONObject jsonOne = new JSONObject();  
        JSONObject jsonTwo = new JSONObject();  

        jsonOne.put("name", "kewen");  
        jsonOne.put("age", "24");  

        jsonTwo.put("hobbit", "Dota");  
        jsonTwo.put("hobbit2", "wow");  

        JSONObject jsonThree = new JSONObject();  

        jsonThree.putAll(jsonOne);  
        jsonThree.putAll(jsonTwo);  

        System.out.println(jsonThree.toString());  

    }  
}  

import net.sf.json.JSONObject;

public class JSONCombine

{

public static void main(String[] args)

{

JSONObject jsonOne = new JSONObject();

JSONObject jsonTwo = new JSONObject();

    jsonOne.put("name", "kewen");  
    jsonOne.put("age", "24");  

    jsonTwo.put("hobbit", "Dota");  
    jsonTwo.put("hobbit2", "wow");  

    JSONObject jsonThree = new JSONObject();  

    jsonThree.putAll(jsonOne);  
    jsonThree.putAll(jsonTwo);  

    System.out.println(jsonThree.toString());  

}  

}