public JsonArray toJson() {
		JsonArray result = new JsonArray();
		sections.forEach(section -> result.add(section.toJson()));
		return result;
	}
Converts this patch to a json array.

@return json array with json encoded patch/diff elements.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/JsonPatch.java