public static JsonPatch read(ListIterator<String> lineIterator) throws IOException {
		List<PatchSection> sections = new ArrayList<>();
		PatchSection section;
		while (lineIterator.hasNext() && (section = readPatchSection(lineIterator)) != null) {
			sections.add(section);
		}
		return new JsonPatch(sections);
	}
Creates a new instance using the contents of the supplied text lines.

@param lineIterator iterator that provides lines of text containing the json diff
@return new JsonPatch instance
@throws IOException if error
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/JsonPatch.java