class Json {
    /**
     * <p>
     * main.
     * </p>
     *
     * @param args an array of {@link java.lang.String} objects.
     */
    @SuppressForbidden(reason = "Using System.out in a demo class")
    public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

        // Jackson ObjectMapper
        ObjectMapper mapper = new ObjectMapper();

        // Fetch some OSHI objects
        SystemInfo si = new SystemInfo();
        HardwareAbstractionLayer hal = si.getHardware();

        try {
            // Pretty print computer system
            System.out.println("JSON for CPU:");
            CentralProcessor cpu = hal.getProcessor();
            System.out.println(mapper.writerWithDefaultPrettyPrinter().writeValueAsString(cpu));

            // Print memory
            System.out.println("JSON for Memory:");
            GlobalMemory mem = hal.getMemory();
            System.out.println(mapper.writeValueAsString(mem));

        } catch (JsonProcessingException e) {
            System.out.println("Exception encountered: " + e.getMessage());
        }
    
<no_super_class>