Skip to content
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

System.Text.Json Serialization Support in .NET SDK Objects #3033

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Commits on Nov 15, 2024

  1. moved Wholesome tests to their own namespace, for test output clarity

    modified PropertiesHaveJsonAttributes to check for equivalent STJ attributes
    jar-stripe committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    9b040c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64908c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa40386 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. added/updated wholesome tests to help us ensure correct system text j…

    …son attributes
    
    added json converters for system text json to ensure we conform to our API and existing SDK behavior
    jar-stripe committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    34a0381 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de5b0c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3512f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. updated wholesome tests

    migrated manually managed files
    jar-stripe committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    70f0327 View commit details
    Browse the repository at this point in the history
  2. added stj attributes to manually maintained classes

    updated wholesome tests for better reporting
    jar-stripe committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ed9ab01 View commit details
    Browse the repository at this point in the history
  3. updated DontSerializeNullDeletedAttrs test to check for STJ equivalent

    updated classes with Deleted properties
    jar-stripe committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    a158eb5 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. updated attributes for generated classes

    added NewtonsoftAndSystemTextJsonOutputTheSameObject wholesome test, to ensure all stripe entities serialize the same through json.net and system text json
    
    added STJEnumerableObjectConverter because STJ serializes IEnumerable implementations as arrays and not objects
    jar-stripe committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    6109137 View commit details
    Browse the repository at this point in the history
  2. removed TODO

    jar-stripe committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    a48e2ca View commit details
    Browse the repository at this point in the history
  3. added JsonConverter attributes to interfaces and ExpandableField

    added test to verify that enumerable item types have the proper STJ converters
    updated wholesome tests
    jar-stripe committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    c79ed0d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0da3ac5 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Configuration menu
    Copy the full SHA
    d5ce297 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2767ba8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jar/coexist-system-text-json' of github.com:stripe/stri…

    …pe-dotnet into jar/coexist-system-text-json
    jar-stripe committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    177b59b View commit details
    Browse the repository at this point in the history
  4. updated generated files

    jar-stripe committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    27d6fef View commit details
    Browse the repository at this point in the history