Skip to content

Commit e5dbc4e

Browse files
committed
Required naming changes to run on current Oracle versions that now also have json support.
1 parent fcb9666 commit e5dbc4e

31 files changed

+899
-729
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.log

CHANGELOG.md

+73-34
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,73 @@
1-
v0.4.1 - December 22, 2016
2-
* 0.4.1 (Dieter Oberkofler)
3-
* Improved the performance when working with CLOB values by 10 to 100 times depending on the actual CLOB length. (Dieter Oberkofler)
4-
5-
v0.4.0 - December 8, 2016
6-
* 0.4.0 (Dieter Oberkofler)
7-
* Added support for CLOB properties. (Dieter Oberkofler)
8-
* Added support to update properties. (Dieter Oberkofler)
9-
* Added a new module json_sql that allows to dynamically generate a json representation of the rows in a select with bind variables. (Dieter Oberkofler)
10-
11-
v0.3.1 - March 16, 2016
12-
* 0.3.1 (Dieter Oberkofler)
13-
* Fixed a problem when escaping a string that ends with CHR(10). (Dieter Oberkofler)
14-
15-
v0.3.0 - December 15, 2014
16-
* 0.3.0 (Dieter Oberkofler)
17-
* Improved the performance of object_to_clob and array_to_clob by up to 400%. (Dieter Oberkofler)
18-
* Added a few special values tests. (Dieter Oberkofler)
19-
20-
v0.2.0 - June 19, 2014
21-
* 0.2.0 (Dieter Oberkofler)
22-
* Now using 3 individual parse methods in json_parser allowing to parse an object, an array or any of the two. (Dieter Oberkofler)
23-
* Added a new constructor to json_array allowing to parse a JSON string representing an array. Proposed by matthias-oe. (Dieter Oberkofler)
24-
* Added a new constructor to json_value allowing to parse a JSON string representing an object or an array. (Dieter Oberkofler)
25-
* Added unit tests for the new functionality. (Dieter Oberkofler)
26-
27-
v0.1.0 - April 26, 2014
28-
* 0.1.0 (Dieter Oberkofler)
29-
* Added support for DATE types.
30-
* Added support for JSONP.
31-
32-
v0.0.1 - September 24, 2013
33-
* 0.0.1 (Dieter Oberkofler)
34-
* Initial release of plsql_json.
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
9+
## [?.?.?] - ????-??-??
10+
11+
### Added
12+
### Changed
13+
### Fixed
14+
15+
16+
## [0.5.0] - 2020-03-08
17+
18+
### Changed
19+
- No longer install debug module by default.
20+
- Removed package json_cost and json_clob.
21+
22+
23+
### Fixed
24+
- Required naming changes to run on current Oracle versions that now also have json support.
25+
26+
27+
## [0.4.1] - 2016-12-22
28+
29+
### Changed
30+
- Improved the performance when working with CLOB values by 10 to 100 times depending on the actual CLOB length. (Dieter Oberkofler)
31+
32+
33+
## [0.4.0] - 2016-12-8
34+
35+
### Added
36+
- Added support for CLOB properties. (Dieter Oberkofler)
37+
- Added support to update properties. (Dieter Oberkofler)
38+
- Added a new module json_sql that allows to dynamically generate a json representation of the rows in a select with bind variables. (Dieter Oberkofler)
39+
40+
41+
## [0.3.1] - 2016-03-16
42+
43+
### Fixed
44+
- Fixed a problem when escaping a string that ends with CHR(10). (Dieter Oberkofler)
45+
46+
47+
## [0.3.0] - 2014-12-15
48+
49+
### Added
50+
- Improved the performance of object_to_clob and array_to_clob by up to 400%. (Dieter Oberkofler)
51+
- Added a few special values tests. (Dieter Oberkofler)
52+
53+
54+
## [0.2.0] - 2014-06-19
55+
56+
### Added
57+
- Now using 3 individual parse methods in json_parser allowing to parse an object, an array or any of the two. (Dieter Oberkofler)
58+
- Added a new constructor to json_array allowing to parse a JSON string representing an array. Proposed by matthias-oe. (Dieter Oberkofler)
59+
- Added a new constructor to json_value allowing to parse a JSON string representing an object or an array. (Dieter Oberkofler)
60+
- Added unit tests for the new functionality. (Dieter Oberkofler)
61+
62+
63+
## [0.1.0] - 2014-04-26
64+
65+
### Added
66+
- Added support for DATE types.
67+
- Added support for JSONP.
68+
69+
70+
## [0.0.1] - 2013-09-24
71+
72+
### Added
73+
- Initial release of plsql_json.

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
PL/SQL-JSON implements encoding and decoding JSON in a PL/SQL environment.
33
Using the objects json_object and json_array allows to compose and parse JSON.
44

5+
56
### Install
67
Install using the install.sql script and uninstall using uninstall.sql script.
78

9+
810
### Unit test
911
Unit tests are provided in the unitest directory and can be run using the unitest.sql script.
1012

13+
1114
### Performance
1215
A performance test is avilable in the performance directory and allows to compare with the the excellent PL/JSON implementation.
1316
PLSQL-JSON is typically between two and then times faster.
1417

18+
1519
### Documentation
1620
This README is currently the only avilable documentation.
1721

22+
1823
### Release History
1924
See the [CHANGELOG](CHANGELOG).

install.sql

+17-13
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@
1111
*
1212
*/
1313

14-
set define off
14+
spool install.log
15+
16+
set define off echo on termout off
1517

1618
-- uninstall all object
1719
@@uninstall.sql
1820

1921

2022
-- install the headers
21-
@@json_const.pks
22-
show errors
2323
@@json_clob.pks
2424
show errors
25-
@@json_keys.tps
25+
@@jsonkeys.tps
2626
show errors
27-
@@json_node.tps
27+
@@jsonnode.tps
2828
show errors
29-
@@json_nodes.tps
29+
@@jsonnodes.tps
3030
show errors
31-
@@json_value.tps
31+
@@jsonvalue.tps
3232
show errors
33-
@@json_object.tps
33+
@@jsonobject.tps
3434
show errors
35-
@@json_array.tps
35+
@@jsonarray.tps
3636
show errors
3737
@@json_utils.pks
3838
show errors
@@ -44,17 +44,21 @@ show errors
4444
-- install the bodies
4545
@@json_clob.pkb
4646
show errors
47-
@@json_node.tpb
47+
@@jsonnode.tpb
4848
show errors
49-
@@json_value.tpb
49+
@@jsonvalue.tpb
5050
show errors
51-
@@json_object.tpb
51+
@@jsonobject.tpb
5252
show errors
53-
@@json_array.tpb
53+
@@jsonarray.tpb
5454
show errors
5555
@@json_utils.pkb
5656
show errors
5757
@@json_parser.pkb
5858
show errors
5959
@@json_sql.pkb
6060
show errors
61+
62+
spool off
63+
64+
set define on echo off termout on

json_array.tps

-34
This file was deleted.

json_clob.pkb

-56
This file was deleted.

json_clob.pks

-26
This file was deleted.

json_const.pks

-15
This file was deleted.

0 commit comments

Comments
 (0)