Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找的是完全通过 DataPacket 发送一个 Object 一个 JTree ,问题是只能接收一个 STRING 而不是 JTree 。
您可以在一侧转换Object为Json字符串,然后在另一侧转换回ObjectfromJson字符串。看看格森
Object
Json