Implemented escaping of slash '/' only in case of '</' to avoid potential issue with javascript and </script> Many feature renaming to match Eiffel style and naming convention, kept previous feature as obsolete. Restructured the library to make easy extraction of "converter" classes if needed in the future. Updated part of the code to use new feature names.
33 lines
449 B
Plaintext
33 lines
449 B
Plaintext
note
|
|
description: "A JSON converter for LINKED_LIST [ANY]"
|
|
author: "Paul Cohen"
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
file: "$HeadURL: $"
|
|
|
|
class
|
|
JSON_LINKED_LIST_CONVERTER
|
|
|
|
inherit
|
|
|
|
JSON_LIST_CONVERTER
|
|
redefine
|
|
object
|
|
end
|
|
|
|
create
|
|
make
|
|
|
|
feature -- Access
|
|
|
|
object: LINKED_LIST [detachable ANY]
|
|
|
|
feature {NONE} -- Factory
|
|
|
|
new_object (nb: INTEGER): like object
|
|
do
|
|
create Result.make
|
|
end
|
|
|
|
end -- class JSON_LINKED_LIST_CONVERTER
|