Skip to content

Commit 5599c82

Browse files
committed
dotNet 4.5: sdk version 4.2.102: increase size limit for JSON serialization & deserialization
1 parent c2b5d0e commit 5599c82

File tree

20 files changed

+36
-48
lines changed

20 files changed

+36
-48
lines changed

Java/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.

Node.js/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.

PHP/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.

Python/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ The Semantria SDKs are the most convenient way to integrate with the Semantria A
66

77
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
88

9-
Signup for a free trial [here](https://www.lexalytics.com/signup).
10-
119
Please visit [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
1210

1311
Available SDKs:

Ruby/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.

dotNet/.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ Ankh.NoLoad
7676
[Bb]uild/
7777
UpgradeLog*.XML
7878
_UpgradeReport_Files/
79-
[Tt]est[Rr]esults/
79+
[Tt]est[Rr]esults/
80+
81+
# NuGet packages
82+
/packages/
83+
!packages/repositories.config

dotNet/README.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.
1210

1311

1412
## Installation
1513

16-
These instructions show how to build and utilize the SDK using Microsoft Visual Studio. You are able to use the SDK in any IDE you choose.
14+
These instructions show how to build and use the SDK using Microsoft Visual Studio.
1715

1816
First, clone or download the SDK from https://github.com/Semantria/semantria-sdk.
1917

@@ -23,19 +21,15 @@ Then, open semantria-sdks/dotNet45/semantria.sln in Visual Studio.
2321

2422
To test, first set the environment variables SEMANTRIA\_KEY and SEMANTRIA\_SECRET with your key and secret.
2523

26-
Then run the tests:
27-
28-
Open the Test dropdown in the menu bar and click Test > Run > All Tests.
29-
30-
This can also be done using the keyboard shortcut ctrl + R, A.
24+
Then to run the tests, select *Test > Run > All Tests*. You can also do this using the keyboard shortcut *Ctrl + R, A*.
3125

3226
## Running the examples
3327

3428
There are several example programs in the examples subdirectory.
3529

3630
First, ensure the environment variables SEMANTRIA\_KEY and SEMANTRIA\_SECRET are set.
3731

38-
Select the desired example in the solutions window. If you don't see the solutions window you can open it by clicking View > Solution Explorer in the dropdown menu. Once you have selected desired example, right click and select Debug > Run new Instance. Alternatively, select the desired example project in the Startup Projects dropdown, then click the start button to the right.
32+
Select the desired example in the solutions window. If you don't see the solutions window you can open it by selecting *View > Solution Explorer*. Once you have selected desired example, right click and select *Debug > Run new instance*. Alternatively, select the desired example project in the Startup Projects dropdown, then click the start button to the right.
3933

4034
Remember, these examples are coded in a simple style to illustrate the use of some of Semantria features. They do not represent the best practices for processing large volumes of data.
4135

dotNet45/.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ Ankh.NoLoad
7676
[Bb]uild/
7777
UpgradeLog*.XML
7878
_UpgradeReport_Files/
79-
[Tt]est[Rr]esults/
79+
[Tt]est[Rr]esults/
80+
81+
# NuGet packages
82+
/packages/
83+
!packages/repositories.config

dotNet45/AutoResponseFeatureTestApp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/ChangeLog

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
CHANGELOG
22

3+
4.2.102 - Increased size limit for JSON serialization & deserialization
4+
35
4.2.101 - Added Session.GetUserDirectory & WriteUserDirectoryToFile
46

57
4.2.8 - Fixed bug attempting to set modified property in auto response test app

dotNet45/DetailedModeTestApp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/DiscoveryModeTestApp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/JobIdFeatureTestApp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/README.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ The [Semantria](https://www.lexalytics.com/semantria) SDKs are the most convenie
44

55
For small volume, or ad-hoc, interactive data exploration check out [Semantria for Excel](https://www.lexalytics.com/semantria/excel).
66

7-
Signup for a free trial [here](https://www.lexalytics.com/signup).
8-
97
See [semantria.readme.io](https://semantria.readme.io/docs/) for complete API documentation.
108

119
If you find a bug or have suggestions let us know: [email protected]. Or fork this repo, make your changes, and submit a pull request.
1210

1311
## Installation
1412

15-
These instructions show how to build and utilize the SDK using Microsoft Visual Studio. You are able to use the SDK in any IDE you choose.
13+
These instructions show how to build and use the SDK using Microsoft Visual Studio.
1614

1715
First, clone or download the SDK from https://github.com/Semantria/semantria-sdk.
1816

@@ -22,19 +20,15 @@ Then, open semantria-sdks/dotNet45/semantria.sln in Visual Studio.
2220

2321
To test, first set the environment variables SEMANTRIA\_KEY and SEMANTRIA\_SECRET with your key and secret.
2422

25-
Then run the tests:
26-
27-
Open the Test dropdown in the menu bar and click Test > Run > All Tests.
28-
29-
This can also be done using the keyboard shortcut ctrl + R, A.
23+
Then to run the tests, select *Test > Run > All Tests*. You can also do this using the keyboard shortcut *Ctrl + R, A*.
3024

3125
## Running the examples
3226

3327
There are several example programs in the examples subdirectory.
3428

3529
First, ensure the environment variables SEMANTRIA\_KEY and SEMANTRIA\_SECRET are set.
3630

37-
Select the desired example in the solutions window. If you don't see the solutions window you can open it by clicking View > Solution Explorer in the dropdown menu. Once you have selected desired example, right click and select Debug > Run new Instance. Alternatively, select the desired example project in the Startup Projects dropdown, then click the start button to the right.
31+
Select the desired example in the solutions window. If you don't see the solutions window you can open it by selecting *View > Solution Explorer*. Once you have selected desired example, right click and select *Debug > Run new instance*. Alternatively, select the desired example project in the Startup Projects dropdown, then click the start button to the right.
3832

3933
Remember, these examples are coded in a simple style to illustrate the use of some of Semantria features. They do not represent the best practices for processing large volumes of data.
4034

dotNet45/Semantria.Com.Workers/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("4.2.101")]
35-
[assembly: AssemblyFileVersion("4.2.101")]
34+
[assembly: AssemblyVersion("4.2.102")]
35+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/Semantria.Com/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/Semantria.Com/Serializers/JsonSerializer.cs

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public T Deserialize<T>(string str)
3737
public dynamic Deserialize(string str)
3838
{
3939
JavaScriptSerializer serializer = new JavaScriptSerializer();
40+
serializer.MaxJsonLength = System.Int32.MaxValue;
4041
serializer.RegisterConverters(new[] { new DynamicJsonObjectConverter() });
4142
dynamic obj = serializer.Deserialize(str, typeof(DynamicJsonObject));
4243
return obj;
@@ -52,6 +53,7 @@ public string Serialize(dynamic obj)
5253
private string serialize(dynamic obj)
5354
{
5455
JavaScriptSerializer serializer = new JavaScriptSerializer();
56+
serializer.MaxJsonLength = System.Int32.MaxValue;
5557
serializer.RegisterConverters(new[] { new DynamicJsonObjectConverter() });
5658
var output = serializer.Serialize(obj);
5759
return output;

dotNet45/Semantria.UnitTest/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.2.101")]
36-
[assembly: AssemblyFileVersion("4.2.101")]
35+
[assembly: AssemblyVersion("4.2.102")]
36+
[assembly: AssemblyFileVersion("4.2.102")]

dotNet45/WorkersTestApp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("4.2.101")]
35-
[assembly: AssemblyFileVersion("4.2.101")]
34+
[assembly: AssemblyVersion("4.2.102")]
35+
[assembly: AssemblyFileVersion("4.2.102")]

0 commit comments

Comments
 (0)