Skip to content

Swatim #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2015
Merged

Swatim #5

merged 2 commits into from
Jun 8, 2015

Conversation

swatimadhukar
Copy link

Adding Sample Test case for Protection Policy

Conflicts:
	src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/BackupServicesTestBase.cs
swatimadhukar pushed a commit that referenced this pull request Jun 8, 2015
@swatimadhukar swatimadhukar merged commit c5d5435 into master Jun 8, 2015
dragonfly91 pushed a commit that referenced this pull request Jul 1, 2015
NehaRaje added a commit that referenced this pull request Aug 15, 2015
dragonfly91 pushed a commit that referenced this pull request Aug 26, 2016
…documents

This proves it is possible for users of the Search SDK to customize JSON
serialization of their document model classes, provided they follow a few
rules:
1. Always use the JsonSerializer to read and write values, not the JsonReader/
   JsonWriter.
2. When reading, ignore any properties that aren't part of the model (like
   OData metadata).
3. When reading, don't assume that properties will arrive in any particular
   order.
4. When reading, don't assume that all properties will be present.
5. Use the [JsonConverter] attribute on your model class to install the
   converter. Explicitly adding it to ISearchIndexClient.SerializerSettings
   or DeserializerSettings won't work.
Rule #5 will be lifted in a future commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants