79201183

Date: 2024-11-18 19:29:12
Score: 3
Natty:
Report link

Instead of 4 lines you can just type

String s= rootnodeResolution.iterator().next().path("id").asText();

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kruti Varma