mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-09 16:00:18 +01:00
* Add 'Data' to response which can be used during transforming the response * md * hb * fix * Linq * fix test * v4 * 14 * . * x * remove * s
24 lines
680 B
C#
24 lines
680 B
C#
// Copied from https://github.com/Handlebars-Net/Handlebars.Net.Helpers/blob/master/src/Handlebars.Net.Helpers.DynamicLinq
|
|
|
|
namespace WireMock.Json;
|
|
|
|
/// <summary>
|
|
/// Enum to define how to convert an Float in the Json Object.
|
|
/// </summary>
|
|
internal enum FloatBehavior
|
|
{
|
|
/// <summary>
|
|
/// Convert all Float types in the Json Object to a double. (default)
|
|
/// </summary>
|
|
UseDouble = 0,
|
|
|
|
/// <summary>
|
|
/// Convert all Float types in the Json Object to a float (unless overflow).
|
|
/// </summary>
|
|
UseFloat = 1,
|
|
|
|
/// <summary>
|
|
/// Convert all Float types in the Json Object to a decimal (unless overflow).
|
|
/// </summary>
|
|
UseDecimal = 2
|
|
} |