@InterfaceAudience.Private public final class JRubyFormat extends Object
E.g.
Map<String, Object> map = new LinkedHashMap<>(); map.put("null", null); map.put("boolean", true); map.put("number", 1); map.put("string", "str"); map.put("binary", new byte[] { 1, 2, 3 }); map.put("list", Lists.newArrayList(1, "2", true));
Calling print(Object)
method will result:
{ null => '', boolean => 'true', number => '1', string => 'str', binary => '010203', list => [ '1', '2', 'true' ] }
Copyright © 2007–2019 Cloudera. All rights reserved.