Skip to content

Commit 5f155b8

Browse files
authored
Merge pull request #43 from Irwin1985/version_9
do not alter blank spaces
2 parents aa1307d + 5eae179 commit 5f155b8

3 files changed

Lines changed: 34 additions & 3 deletions

File tree

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,30 @@ src/jsonstringify.ERR
44
*.zip
55
*.PJT
66
*.pjx
7+
src/arraytocursor.BAK
8+
JSONFoxHelper/obj/x86/Release/JSONFoxHelper.pdb
9+
JSONFoxHelper/obj/x86/Release/JSONFoxHelper.dll
10+
jsonfox_ref.FPT
11+
jsonfox_ref.DBF
12+
jsonfox_ref.CDX
13+
JSONFoxHelper/.vs/JSONFoxHelper/FileContentIndex/ce6bbe6c-b547-4029-a444-eb439cf20c46.vsidx
14+
JSONFoxHelper/.vs/JSONFoxHelper/FileContentIndex/read.lock
15+
JSONFoxHelper/.vs/JSONFoxHelper/v16/.suo
16+
JSONFoxHelper/.vs/JSONFoxHelper/v17/.suo
17+
JSONFoxHelper/bin/Debug/JSONFoxHelper.dll
18+
JSONFoxHelper/bin/Debug/JSONFoxHelper.pdb
19+
JSONFoxHelper/bin/Debug/JSONFoxHelper.tlb
20+
JSONFoxHelper/bin/Release/JSONFoxHelper.dll
21+
JSONFoxHelper/bin/Release/JSONFoxHelper.pdb
22+
JSONFoxHelper/bin/x86/Debug/JSONFoxHelper.dll
23+
JSONFoxHelper/bin/x86/Debug/JSONFoxHelper.pdb
24+
JSONFoxHelper/bin/x86/Debug/JSONFoxHelper.tlb
25+
JSONFoxHelper/bin/x86/Release/JSONFoxHelper.dll
26+
JSONFoxHelper/bin/x86/Release/JSONFoxHelper.pdb
27+
JSONFoxHelper/obj/x86/Release/DesignTimeResolveAssemblyReferences.cache
28+
JSONFoxHelper/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache
29+
JSONFoxHelper/obj/x86/Release/JSONFoxHelper.csproj.AssemblyReference.cache
30+
JSONFoxHelper/obj/x86/Release/JSONFoxHelper.csproj.CoreCompileInputs.cache
31+
JSONFoxHelper/obj/x86/Release/JSONFoxHelper.csproj.FileListAbsolute.txt
32+
*.BAK
33+
*.FXP

src/jsonclass.prg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ define class JSONClass as session
44
LastErrorText = ""
55
lError = .f.
66
lShowErrors = .t.
7-
version = "9.8"
7+
version = "9.9"
88
hidden lInternal
99
hidden lTablePrompt
1010
Dimension aCustomArray[1]

src/jsonutils.prg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ define class jsonutils as custom
4444
Otherwise
4545
tcvalue = this.getstring(tcvalue)
4646
endcase
47-
tcvalue = alltrim(tcvalue)
47+
&& IRODG 08/08/2023 Inicio
48+
*tcvalue = alltrim(tcValue)
49+
&& IRODG 08/08/2023 Fin
4850
case tctype $ "YFIN"
4951
tcvalue = strtran(transform(tcvalue), ',', '.')
5052
case tctype == 'L'
@@ -132,7 +134,9 @@ define class jsonutils as custom
132134
&& ======================================================================== &&
133135
function getstring as string
134136
lparameters tcString as string, tlParseUtf8 as Boolean
135-
tcString = allt(tcString)
137+
&& IRODG 08/08/2023 Inicio
138+
*tcString = Alltrim(tcString)
139+
&& IRODG 08/08/2023 Fin
136140
tcString = strtran(tcString, '\', '\\' )
137141
tcString = strtran(tcString, chr(9), '\t' )
138142
tcString = strtran(tcString, chr(10), '\n' )

0 commit comments

Comments
 (0)