【发布时间】:2022-12-27 21:49:43
【问题描述】:
I have
Map<String, Map<String, Map<String, Map<String, String>>>> map = new HashMap<>();
so inserted some values in it, then I need to convert this map to Json without any dependencies (ObjectMapper, Gson, ...), so is there any way to do it?
【问题讨论】:
-
Firstly, can you, please, explain why would you need to do that? Secondly, regardless of the reasons behind your question, you're advised to share what you've already tried because every Question on StackOverflow is expected to demonstrate aneffort. Please, see How do I ask a good question? and Why is "Can someone help me?" not an actual question?
标签: java json java-8 hashmap java-11