Searched refs:yamlStr (Results 1 – 2 of 2) sorted by relevance
47 String yamlStr = "id: 123\n" + "income: 123456.78\n" + "name: Neo Anderson"; in loadFromString() local49 Person loadedPerson = yaml().loadAs(yamlStr, Person.class); in loadFromString()
128 final String yamlStr = "name: Neo Anderson\nsalary: [{income: [123456.78]}]\n"; in testOptionaStringLoad() local136 final Person pFromStr = yamlParser.loadAs(yamlStr, Person.class); in testOptionaStringLoad()